Skip to content
This repository has been archived by the owner on Jun 9, 2022. It is now read-only.

Endpoints

Nicola Bovolato edited this page May 11, 2021 · 4 revisions

Endpoints

/login

  • Method: POST
  • Request Body:
{
 username: String
 password: String
}
  • Response Body:
{
 access_token:  String
 refresh_token: String
}

/logout

  • Method: POST
  • Request Headers:
    • Authorization: Bearer {refresh_token}

/refresh

  • Method: POST
  • Request Headers:
    • Authorization: Bearer {refresh_token}
  • Response Body:
{
 access_token:  String
}

/verify

  • Method: GET
  • Request Headers:
    • Authorization: Bearer {auth_token}
Clone this wiki locally