-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Method Not Allowed when trying to fetch upstream's active targets #2840
Comments
I too am seeing this behavior in Kong 0.11. I have also implemented the workaround of appending a trailing /. Thanks for filing this and for the workaround suggestion @cfajardo! |
Tieske
added a commit
that referenced
this issue
Sep 12, 2017
With the trailing slash the `.../targets/active` endpoint would return a "method not allowed" error fixes #2840
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Summary
When i want to fetch upstream's active targets i have a 400 response METHOD NOT ALLOWED
https://getkong.org/docs/0.11.x/admin-api/#list-active-targets
Steps To Reproduce
curl http://kong:8001/upstreams/{id}/targets/active -X GET
Additional Details & Logs
0.11
)/
like this :curl http://kong:8001/upstreams/{id}/targets/active/ -X GET
everything is ok, but not compliant with the documentation.The text was updated successfully, but these errors were encountered: