/user/refresh - POST

Method description

Get a fresh token using the token implicit on headers.

Request Data

Nothing

Response format and codes

HTTP codedescription
200token refreshed
400bad params
401token error
404user not exists


On successful request, the service should return a response similar to this:

{
    "user_token": token,
    "expiration_date": expiration_date
}


On a failed login attempt the response is like the following example:

{
  "err": "invalid.login.credentials"
}