15 lines
310 B
HTTP
15 lines
310 B
HTTP
POST http://localhost:8081/api/login
|
|
Content-Type: application/json
|
|
|
|
{
|
|
"username": "test@test.test",
|
|
"password": "yannyann1"
|
|
}
|
|
|
|
> {% client.global.set("auth_token", response.body.token); %}
|
|
|
|
|
|
###
|
|
GET http://localhost:8081/api/reg/vehicles
|
|
Content-Type: application/json
|
|
Authorization: Bearer {{auth_token}} |