-
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
Upsert target is not an upsert #12987
Comments
Looks to be same as update: Not sure, but this may be because of historical purposes. But doc seems be then wrong. One of them is wrong. |
I discussed this with @locao, and it looks like it is a bug (in code). |
@bungle , do we have a ticket to track it? |
--> KAG-4475 |
@samugi , do we have any updates? |
Already pinged our PM to review this issue |
Is there an existing issue for this?
Kong version (
$ kong version
)Kong 3.6.1
Current Behavior
Calling
PUT /upstreams/{upstreamName}/targets/{target}
returns 404 even though documentation says it is an upsert operation.Expected Behavior
Calling the
PUT
endpoint should create the target if it does not exist.(Creating a target with a
POST
request and then updating it withPUT
works.)Steps To Reproduce
PUT
API to upsert a target to it.Anything else?
No response
The text was updated successfully, but these errors were encountered: