Skip to content

Latest commit

 

History

History
18 lines (16 loc) · 506 Bytes

api_auth_example.md

File metadata and controls

18 lines (16 loc) · 506 Bytes

Authorization

  • url structure /api/v1/sign_in?email=[email]&password=[password]
  • url example /api/v1/[email protected]&password=12345678
  • method POST
  • header Authorization
  • value Token token="66866be94e8172e1667f677b8409c3d8", email="[email protected]"
  • response example
{
    "token": "66866be94e8172e1667f677b8409c3d8",
    "email": "[email protected]",
    "first_name": "Randy",
    "last_name": "Burgess-Teacher",
    "classroom_id": 91
}