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 2021/06/03 06:57:04 UTC

[GitHub] [apisix] StretchV opened a new issue #4366: request help: Why is it wrong when I modify the URI of the route

StretchV opened a new issue #4366:
URL: https://github.com/apache/apisix/issues/4366


   ### Issue description
   <img width="1381" alt="QQ20210603-0" src="https://user-images.githubusercontent.com/31284380/120600774-bca6c680-c47b-11eb-8957-0325232eb6c3.png">
   
   为什么我修改uris时apisix报错呢,修改其他的属性是没问题的
   
   
   ### Environment
   2.3
   Request help without environment information will be ignored or closed.
   
   * apisix version (cmd: `apisix version`):2.3
   * OS (cmd: `uname -a`):
   * OpenResty / Nginx version (cmd: `nginx -V` or `openresty -V`):
   * etcd version, if have (cmd: run `curl http://127.0.0.1:9090/v1/server_info` to get the info from server-info API):
   * apisix-dashboard version, if have:
   * luarocks version, if the issue is about installation (cmd: `luarocks --version`):
   


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



[GitHub] [apisix] Firstsawyou commented on issue #4366: request help: Why is it wrong when I modify the URI of the route

Posted by GitBox <gi...@apache.org>.
Firstsawyou commented on issue #4366:
URL: https://github.com/apache/apisix/issues/4366#issuecomment-853633040






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



[GitHub] [apisix] StretchV commented on issue #4366: request help: Why is it wrong when I modify the URI of the route

Posted by GitBox <gi...@apache.org>.
StretchV commented on issue #4366:
URL: https://github.com/apache/apisix/issues/4366#issuecomment-853626250


   原来是这条路由原来存的是uri,...但是如果我想把这条路由的uri改成数组我该怎么请求修改操作呢


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



[GitHub] [apisix] Firstsawyou removed a comment on issue #4366: request help: Why is it wrong when I modify the URI of the route

Posted by GitBox <gi...@apache.org>.
Firstsawyou removed a comment on issue #4366:
URL: https://github.com/apache/apisix/issues/4366#issuecomment-853633040


   You can do this:
   ```shell
   curl http://127.0.0.1:9080/apisix/admin/routes/1 -H 'X-API-KEY: edd1c9f034335f136f87ad84b625c8f1' -X PATCH -i -d '{
       "uri": null,
       "uris": ["/a","/b"]
   }'
   ```


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



[GitHub] [apisix] Firstsawyou commented on issue #4366: request help: Why is it wrong when I modify the URI of the route

Posted by GitBox <gi...@apache.org>.
Firstsawyou commented on issue #4366:
URL: https://github.com/apache/apisix/issues/4366#issuecomment-853633040






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



[GitHub] [apisix] spacewander closed issue #4366: request help: Why is it wrong when I modify the URI of the route

Posted by GitBox <gi...@apache.org>.
spacewander closed issue #4366:
URL: https://github.com/apache/apisix/issues/4366


   


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



[GitHub] [apisix] spacewander commented on issue #4366: request help: Why is it wrong when I modify the URI of the route

Posted by GitBox <gi...@apache.org>.
spacewander commented on issue #4366:
URL: https://github.com/apache/apisix/issues/4366#issuecomment-860158358


   Closed as lack of response.


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



[GitHub] [apisix] StretchV closed issue #4366: request help: Why is it wrong when I modify the URI of the route

Posted by GitBox <gi...@apache.org>.
StretchV closed issue #4366:
URL: https://github.com/apache/apisix/issues/4366


   


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



[GitHub] [apisix] StretchV closed issue #4366: request help: Why is it wrong when I modify the URI of the route

Posted by GitBox <gi...@apache.org>.
StretchV closed issue #4366:
URL: https://github.com/apache/apisix/issues/4366


   


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



[GitHub] [apisix] StretchV commented on issue #4366: request help: Why is it wrong when I modify the URI of the route

Posted by GitBox <gi...@apache.org>.
StretchV commented on issue #4366:
URL: https://github.com/apache/apisix/issues/4366#issuecomment-853626250


   原来是这条路由原来存的是uri,...但是如果我想把这条路由的uri改成数组我该怎么请求修改操作呢


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



[GitHub] [apisix] Firstsawyou removed a comment on issue #4366: request help: Why is it wrong when I modify the URI of the route

Posted by GitBox <gi...@apache.org>.
Firstsawyou removed a comment on issue #4366:
URL: https://github.com/apache/apisix/issues/4366#issuecomment-853633040


   You can do this:
   ```shell
   curl http://127.0.0.1:9080/apisix/admin/routes/1 -H 'X-API-KEY: edd1c9f034335f136f87ad84b625c8f1' -X PATCH -i -d '{
       "uri": null,
       "uris": ["/a","/b"]
   }'
   ```


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