https text fix
This commit is contained in:
@@ -69,16 +69,16 @@
|
||||
-d '{"user_name":"reader","password":"reader-password"}' \
|
||||
| sed -n 's/.*"token":"\([^"]*\)".*/\1/p')
|
||||
|
||||
curl -s 'http://go-api.poc.fló.fo/api/v1/registrations?location=Tórshavn&limit=5' \
|
||||
curl -s 'https://go-api.poc.fló.fo/api/v1/registrations?location=Tórshavn&limit=5' \
|
||||
-H "Authorization: $READER_TOKEN"
|
||||
|
||||
curl -s 'http://go-api.poc.fló.fo/api/v1/registrations?gender=female&abuse_type=psychological&status=open&limit=10' \
|
||||
curl -s 'https://go-api.poc.fló.fo/api/v1/registrations?gender=female&abuse_type=psychological&status=open&limit=10' \
|
||||
-H "Authorization: $READER_TOKEN"
|
||||
|
||||
curl -s 'http://go-api.poc.fló.fo/api/v1/registrations?from=1989-01-01&to=1990-01-01&offset=20&limit=10' \
|
||||
curl -s 'https://go-api.poc.fló.fo/api/v1/registrations?from=1989-01-01&to=1990-01-01&offset=20&limit=10' \
|
||||
-H "Authorization: $READER_TOKEN"
|
||||
|
||||
curl -s 'http://go-api.poc.fló.fo/api/v1/locations' \
|
||||
curl -s 'https://go-api.poc.fló.fo/api/v1/locations' \
|
||||
-H "Authorization: $READER_TOKEN"</code></pre>
|
||||
|
||||
<h3>CRUD user — create, update, and delete examples</h3>
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user