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

fix(api) targets upserts using PUT HTTP method #8596

Merged
merged 4 commits into from
Mar 28, 2022

Conversation

locao
Copy link
Contributor

@locao locao commented Mar 25, 2022

Summary

Kong has used the POST method to insert and update targets since always, but RFC-2616 defines that the PUT method is the one appropriate one for this action.

This is a breaking change planned for the next major version.

Full changelog

  • Changed method in Admin API.
  • Updated tests and test helper functions.

FT-2544

CHANGELOG.md Outdated Show resolved Hide resolved
@dndx dndx merged commit b4dd909 into master Mar 28, 2022
@locao locao deleted the fix/put_to_targets_endpoints branch April 5, 2022 13:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants