/user/refresh - POST

/user/refresh - POST

Method description

Get a fresh token using the token implicit on headers.

Request Data

Nothing

Response format and codes

HTTP code

description

HTTP code

description

200

token refreshed

400

bad params

401

token error

404

user 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" }