Sistema_Gestion_Transporte/docs/rest/login.rest

26 lines
432 B
ReStructuredText
Raw Normal View History

2023-06-25 22:41:07 -04:00
@server = http://localhost:4000/api
@token = {{login.response.body.$.token}}
###
# @name login
POST {{server}}/auth/
Content-Type: application/json
{
2023-10-25 21:14:51 -03:00
"username": "0",
"password": "0"
2023-06-25 22:41:07 -04:00
}
###
GET {{server}}/auth/
2023-06-26 16:52:08 -04:00
Authorization: Bearer {{token}}
###
GET {{server}}/aplicaciones/?ordering=-id_aplicacion
Authorization: Bearer {{token}}
###
GET {{server}}/paraderos-image/??id_paradero=42318
Authorization: Bearer {{token}}