Skip to content

Signup_API

GOPIKRISHNAN edited this page Oct 27, 2021 · 1 revision

Request:

POST /auth?


Form Data:

Attribute Description
username any username without space,and must be alpha numric,Some symbols are allowed.
password must be 8 character
email email address
rquest signup

Response:

There are 3 types of responses:

Status code Description
200 signup sucesss
400 Bad Request
409 User already exists

Example:

200 :

{
   'msg' => "signup sucess",
   'user id ' => ' (userid)
}

400 :

{
   'msg' => "Bad Request"
}

409 :

{
   'msg' => "User already exits"
}

Clone this wiki locally