Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 348 Bytes

api.rest

File metadata and controls

26 lines (17 loc) · 348 Bytes

GET {{host}} HTTP/1.1

###

GET {{host}}/users HTTP/1.1 Authorization: {{accessToken}}

###

POST {{host}}/login HTTP/1.1 Content-Type: application/json

{
"email": "{{email}}", "password": "{{password}}"

}

###

POST {{host}}/refresh HTTP/1.1 Authorization: {{refreshToken}}

###

POST {{host}}/logout HTTP/1.1 Authorization: {{refreshToken}}