
@server = http://localhost:4000/api
@token = {{login.response.body.$.token}}

###
# @name login
POST {{server}}/auth/
Content-Type: application/json

{
    "username": "usuario1",
    "password": "usuario1"
}

###
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}}

###
# @name permisos_todos
POST {{server}}/usuarios/permisos/
Authorization: Bearer {{token}}

###
# @name permisos_path
POST {{server}}/usuarios/permisos/
Authorization: Bearer {{token}}
Content-Type: application/json

{
    "path": "/usuarios"
}

###
GET {{server}}/lineas/?offset=0&limit=10
Authorization: Bearer {{token}}