You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yes, but it does not include related information regarding my question.
Yes, but the steps described in the documentation do not work on my machine.
Yes, but I am having difficulty understanding it and want clarification.
You are setting up gotify in
Docker
Linux native platform
Windows native platform
Describe your problem
I have defined an application in Gotify.
How can I verify using curl syntax if the token is working correctly fetching data via API?
Any errors, logs, or other information that might help us identify your problem
Running this command curl -L -k -H 'X-Gotify-Key:ASaG-yml6So3yx-' http://gotify.example.com:8680/client
or curl -L -k "http://gotify.example.com:8680/client?token=ASaG-yml6So3yx-"
fails with error:
{"error":"Unauthorized","errorCode":401,"errorDescription":"you need to provide a valid access token or user credentials to access this api"}
The text was updated successfully, but these errors were encountered:
Running this command curl -X POST "http://gotify.example.com:8680/message?token=ASaG-yml6So3yx-" -F "title=notification" -F "message=message from terminal"
is working as expected: {"id":2,"appid":3,"message":"message from terminal","title":"notification","priority":1,"date":"2024-05-14T14:59:10.475177001+02:00"}
Have you read the documentation?
You are setting up gotify in
Describe your problem
I have defined an application in Gotify.
How can I verify using
curl
syntax if the token is working correctly fetching data via API?Any errors, logs, or other information that might help us identify your problem
Running this command
curl -L -k -H 'X-Gotify-Key:ASaG-yml6So3yx-' http://gotify.example.com:8680/client
or
curl -L -k "http://gotify.example.com:8680/client?token=ASaG-yml6So3yx-"
fails with error:
{"error":"Unauthorized","errorCode":401,"errorDescription":"you need to provide a valid access token or user credentials to access this api"}
The text was updated successfully, but these errors were encountered: