liuxiran commented on issue #2105: URL: https://github.com/apache/apisix-dashboard/issues/2105#issuecomment-909758567
> Others LGTM, but why not keep the `PUT` API? I tend to guide the user to complete a target operation using the specified API, without ambiguity @nic-chen For create, we can use `POST`, for update, we can use `PATCH`, As our doc says, `PUT` API is used to create a route by ID, `ID` is used as a unique identifier and would ideally be better generated by default. And on the other hand, it can also update the already existed route, and if we want to update route, `PATCH` would be more flexible to use. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
