Skip to content

Registration

sri prashanth edited this page Mar 29, 2016 · 2 revisions

Registration

The authentication API is used to register new users into DonorOnCall.

End point

POST http://app.donoroncall.com/api/register

  • headers : { "access_token": "{donoroncall_access_token}" }

Request body

{
"username": "Apxxxxxxxxxxxxxxx",
"name":"name",
"dob":"dob",
"bloodGroup":"bloodGroup",
"password":"password",
"confirmPassword":"confirmPassword",
"latitude":"latitude",
"longitude":"longitude",
"phoneNo":"phoneNo",
"email":"email"
}

Response

{
"success" :"true",
"message":"Registration successful"
}
{
"success":"false",
"message":"Email has been already registered please login"
}
Clone this wiki locally