-
Notifications
You must be signed in to change notification settings - Fork 96
New issue
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
LogEvent says '{"message":"Method Not Allowed"}' #30
Comments
/api/events takes only POST, there is no reason for GET. |
I changed to -X POST and now it gives {"message":"Unauthorized"} Probably because my token is invalid. How can I get the token? |
Why not to try with a real registry even a testing one? |
I have a register and it is using cesanta/docker_auth for the authentication. Just how can I extract token? |
Actually, there is no easy way to retrieve it, you need to enable debug and print it, then it can be used until expired. |
Closing this as there are no real issues with notification events. |
I'm trying to setup LogEvents, where I already setup MySQL database and now I'm trying to setup register notification.
But when I perform curl -i -H "Authorization: Bearer $TOKEN register:8000/api/events
It responds with:
HTTP/1.1 405 Method Not Allowed
Content-Type: application/json; charset=UTF-8
Date: Wed, 16 Jan 2019 12:20:32 GMT
Content-Length: 32
{"message":"Method Not Allowed"}
The text was updated successfully, but these errors were encountered: