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 2020/07/12 13:53:09 UTC

[GitHub] [incubator-apisix] membphis edited a comment on issue #1823: request help: apisix 1.4 can not patch upstream nodes configure

membphis edited a comment on issue #1823:
URL: https://github.com/apache/incubator-apisix/issues/1823#issuecomment-657224665


   I can accept both styles. `style 1` is better for humans. `style 2` is better for robots.
   
   ```
   {
       "sub_path": {xxxx}
       ... ...
   }
   ```
   
   ```
   # style 1: sub path
   curl -X PATCH http://xxxxx/routes/1/sub_path -d {xxxx}
   
   # style 2: path
   curl -X PATCH http://xxxxx/routes/1 -d {sub_path: {xxxx}}
   ```


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org