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
Current implementation is sending the API-Token as a Basic authorization password with the special username api_key:
api_key
?curl http://api_key:eyJrIjoiT0tTcG1pUlY2RnVKZTFVaDFsNFZXdE9ZWmNrMkZYbk@localhost:3000/api/org
When Basic Auth is not enabled, this method doesn't work resulting with this issue:
?curl http://api_key:eyJrIjoiT0tTcG1pUlY2RnVKZTFVaDFsNFZXdE9ZWmNrMkZYbk@localhost:3000/api/org Bad Request: Not allowed.
Resolution: Make API-Token authentication with the Authorization header, like this (from the docs):
Authorization
GET http://your.grafana.com/api/dashboards/db/mydash HTTP/1.1 Accept: application/json Authorization: Bearer eyJrIjoiT0tTcG1pUlY2RnVKZTFVaDFsNFZXdE9ZWmNrMkZYbk
with curl:
curl
?curl -H "Authorization: Bearer eyJrIjoiT0tTcG1pUlY2RnVKZTFVaDFsNFZXdE9ZWmNrMkZYbk" http://your.grafana.com/api/dashboards/db/mydash
The text was updated successfully, but these errors were encountered:
@tamirshaul I am happy to inform you, that the changes are merged in the main branch.
See: 978538c
Sorry, something went wrong.
No branches or pull requests
Current implementation is sending the API-Token as a Basic authorization password with the special username
api_key
:?curl http://api_key:eyJrIjoiT0tTcG1pUlY2RnVKZTFVaDFsNFZXdE9ZWmNrMkZYbk@localhost:3000/api/org
When Basic Auth is not enabled, this method doesn't work resulting with this issue:
?curl http://api_key:eyJrIjoiT0tTcG1pUlY2RnVKZTFVaDFsNFZXdE9ZWmNrMkZYbk@localhost:3000/api/org Bad Request: Not allowed.
Resolution:
Make API-Token authentication with the
Authorization
header, like this (from the docs):with
curl
:The text was updated successfully, but these errors were encountered: