Skip to content

Register and Login API

initiuminc1 edited this page May 15, 2018 · 4 revisions

Registration

POST /api/v1/register

{
	"username" : "mithin",
	"email": "[email protected]",
	"first_name" : "Mithin",
	"last_name" : "Thomas",
	"phone" : "9895257843",
	"password" : "asdf1234"

}

Login

POST /api/v1/login

{
	"email" : "[email protected]",
	"password" : "asdf1234"
}

Response Codes

  • 200 - Success
  • 403 - Forbidden
Clone this wiki locally