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 4, 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
}
Clone this wiki locally