The Sofaraum API server.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

16 lines
389 B

### Authorization by token, part 1. Retrieve and save token.
POST http://localhost:1073/api/v1/user/auth
Content-Type: application/json
{
"username": "admin",
"password": "admin"
}
> {% client.global.set("auth_token", response.body.token); %}
### Authorization by token, part 2. Use token to authorize.
GET http://localhost:1073/api/v1/user
Authorization: Bearer {{auth_token}}
###