- add request status to search instance API - use JSend-type response in elixForms clients - readjust namespaces - add more unit tests (manual HTTP requests too)
18 lines
346 B
HTTP
18 lines
346 B
HTTP
# Sample requests to try out authorization logic
|
|
|
|
###
|
|
# Authorization OK
|
|
|
|
@term=MA
|
|
|
|
GET http://localhost:8000/api/dipendenti/cerca?term={{term}}
|
|
Authorization: Basic elixforms_ws:password123
|
|
X-API-Key: myApiAccessToken
|
|
|
|
###
|
|
# Should return 401 Unauthorized
|
|
|
|
@term=MA
|
|
|
|
GET http://localhost:8000/api/dipendenti/cerca?term={{term}}
|