We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm trying to write up how to use the API via curl.
Login via:
curl -X POST "https://uat-db.vespawatch.be/login/" \ -H "Content-Type: application/json" \ -d '{"username":"{username}","password":"{password}"}'
Returns : {"detail":"Login successful.","token":"{bearer_token}"}
{"detail":"Login successful.","token":"{bearer_token}"}
Now, how to place a follow up request with this token?
curl -X 'GET' 'https://uat-db.vespawatch.be/observations/?municipality_id=195' -H 'accept: application/json' -H 'Authorization: {bearer_token}'
Returns the exact same result as without the Authorization request header. What am I doing wrong?
The text was updated successfully, but these errors were encountered:
stevegerrits
No branches or pull requests
I'm trying to write up how to use the API via curl.
Login via:
Returns :
{"detail":"Login successful.","token":"{bearer_token}"}
Now, how to place a follow up request with this token?
Returns the exact same result as without the Authorization request header. What am I doing wrong?
The text was updated successfully, but these errors were encountered: