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

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

{
    "rut": "11111111-1",
    "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}}/operadores/
Authorization: Bearer {{token}}