Skip to content
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

Closed
PapyKahan opened this issue Aug 23, 2017 · 1 comment · Fixed by #2884
Closed

Method Not Allowed when trying to fetch upstream's active targets #2840

PapyKahan opened this issue Aug 23, 2017 · 1 comment · Fixed by #2884

Comments

@PapyKahan
Copy link

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

  1. curl http://kong:8001/upstreams/{id}/targets/active -X GET

Additional Details & Logs

@lamielle
Copy link

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
thibaultcha pushed a commit that referenced this issue Sep 13, 2017
With the trailing slash the `.../targets/active` endpoint would
return a "method not allowed" error.

Fix #2840
From #2884
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants