-
Notifications
You must be signed in to change notification settings - Fork 0
POST refresh
MattZK edited this page Oct 25, 2019
·
2 revisions
Refresh the JWT with a refresh token.
POST https://api.farmlab.team/auth/refresh
Do not supply request params with this method.
| Name | Value |
|---|---|
| accept | application/json |
In the request BODY, provide the following body parameters with values.
| Key | Type | Description |
|---|---|---|
| token | UUIDv4 | The refresh token obtained in the login procces |
POST https://api.farmlab.team/auth/refresh
BODY
{
"token": "dea9d7d0-e252-4cf2-a1ce-bd2822abaf4c"
}
{
"jwt": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWRpZW5jZSI6ImF1ZDoqIiwiaXNzdWVyIjoiRmFybUxhYlRlYW0iLCJzdWIiOiI1ZGE5ZjlkODM4NWNjZTE4MjlhNjYzYmIiLCJpYXQiOjE1NzE5OTExMzMsImV4cCI6MTU3MjA3NzUzM30.2_aJGDjuxEY1-dkI8GBiCUwUk_08naEOjAb4P4JO6LY",
"refresh": "e50c47b8-b478-43a4-88bf-306874e90969"
}None