Skip to content

Latest commit

 

History

History
60 lines (41 loc) · 578 Bytes

UserLogin.md

File metadata and controls

60 lines (41 loc) · 578 Bytes

User Login

Returns json data about a userId.

  • URL

    api/v1/user/login

  • Method:

    POST

  • URL Params

    Required:

    None

  • Data Params

{
    "nickName" : nickName,
    "email" : email
}
  • Success Response:
{
    "status" : 200,
    "data" : userId,
    "message" : "Success"
}
  • Error Response:
{
    "status" : 400,
    "data" : NULL,
    "message" : exception.getMessage()
}

OR

{
    "status" : 500,
    "data" : NULL,
    "message" : exception.getMessage()
}