Login

URL

http://api.pm0603.com/user/login/

Method

POST

Data Params

Key Type Value
email email email
password char password

URL Params

None

Success Response

  • Code: 200

Token key value

{
  "email": "[email protected]",
  "token": "6cdb037f43a9ddb9d9c66f430fc504f02a757f74",
  "username": "testuser2"
}

Error Response

  • Code: 400
    • Reason: 인증 실패
{
  "error": "이메일 혹은 비밀번호가 올바르지 않습니다."
}

results matching ""

    No results matching ""