From fc0e99d2ae1dc52f14fa6d2f780205718535be4d Mon Sep 17 00:00:00 2001 From: Hasin Hayder Date: Sat, 21 May 2022 18:26:38 +0600 Subject: [PATCH] Readme --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 9cb4ef5..fb4896f 100644 --- a/README.md +++ b/README.md @@ -111,6 +111,15 @@ You can send a Form Multipart payload or a JSON payload like this Voila! your user has been created and is now ready to login! +If this user already exists, then you will receive a 409 Response like this + +```json +{ + "error": 1, + "message": "user already exists" +} +``` + ### User Authentication (Admin) Remember Hydra comes with the default admin user? You can login as an admin by making an HTTP POST call to the folllowing route