You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2022/01/12 15:18:34 UTC
[GitHub] [apisix] suslovsergey commented on issue #6085: request help: Update route with full filled object
suslovsergey commented on issue #6085:
URL: https://github.com/apache/apisix/issues/6085#issuecomment-1011151396
I using admin api to create/update/delete resources and in terraform provider i set default values (like in the documentation). And when i need ti update route for example or may be service, i send http request via PATCH method, but patch method currently ( in documentation says) - updates only part of data. In my case it's very uncomfortable to detect where i must send null or empty object. So main question: it's right way use PUT method (with ID of resource) to update resource? or i need to make hack like in code snippet?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org