diff --git a/internal/web/templates/index.html b/internal/web/templates/index.html index ac6d318..302a809 100644 --- a/internal/web/templates/index.html +++ b/internal/web/templates/index.html @@ -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"

CRUD user — create, update, and delete examples

diff --git a/local/go-api/go-api b/local/go-api/go-api deleted file mode 100755 index ad99909..0000000 Binary files a/local/go-api/go-api and /dev/null differ