forked from TDTP/admin_transporte_backend
26 lines
432 B
ReStructuredText
26 lines
432 B
ReStructuredText
|
|
@server = http://localhost:4000/api
|
|
@token = {{login.response.body.$.token}}
|
|
|
|
###
|
|
# @name login
|
|
POST {{server}}/auth/
|
|
Content-Type: application/json
|
|
|
|
{
|
|
"username": "0",
|
|
"password": "0"
|
|
}
|
|
|
|
###
|
|
GET {{server}}/auth/
|
|
Authorization: Bearer {{token}}
|
|
|
|
###
|
|
GET {{server}}/aplicaciones/?ordering=-id_aplicacion
|
|
Authorization: Bearer {{token}}
|
|
|
|
|
|
###
|
|
GET {{server}}/paraderos-image/??id_paradero=42318
|
|
Authorization: Bearer {{token}} |