vikunja/REST-Tests/auth.http
konrad d3de658882
All checks were successful
the build was successful
Implemented search for everything (#17)
2018-11-09 17:33:06 +00:00

24 lines
410 B
HTTP

### Authorization by token, part 1. Retrieve and save token.
POST http://localhost:8080/api/v1/login
Content-Type: application/json
{
"username": "user",
"password": "12345"
}
> {% client.global.set("auth_token", response.body.token); %}
### Register
POST http://localhost:8080/api/v1/register
Content-Type: application/json
{
"username": "user4",
"password": "1234",
"email": "4@knt.li"
}
###