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/11/01 14:27:06 UTC
[GitHub] [apisix] hozaifaaoud opened a new issue #5389: request help: path parameter in the route
hozaifaaoud opened a new issue #5389:
URL: https://github.com/apache/apisix/issues/5389
### Issue description
I need to put the id as a path parameter in the route... How can I apply this using apisix dashboard?
Here is an example
http://127.0.0.1:9080/v1/users/{id}
I tried this
http://127.0.0.1:9080/v1/users/*
but it returns
{"status":400,"message":"#/id: expected type: Integer, found: String"}
### Environment
- apisix version (cmd: `apisix version`): 2.5
- OS (cmd: `uname -a`): linux ubuntu
- OpenResty / Nginx version (cmd: `nginx -V` or `openresty -V`):openresty/1.19.9.1
- etcd version, if have (cmd: run `curl http://127.0.0.1:9090/v1/server_info` to get the info from server-info API): 3.4.13
- apisix-dashboard version, if have: 2.6
- the plugin runner version, if the issue is about a plugin runner (cmd: depended on the kind of runner):
- luarocks version, if the issue is about installation (cmd: `luarocks --version`): 3.4.0
--
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
[GitHub] [apisix] tokers commented on issue #5389: request help: path parameter in the route
Posted by GitBox <gi...@apache.org>.
tokers commented on issue #5389:
URL: https://github.com/apache/apisix/issues/5389#issuecomment-957019699
@hozaifaaoud The pronoun `it` is ambiguous, do you mean the apisix-dashboard returns `{"status":400,"message":"#/id: expected type: Integer, found: String"}`? Could you give some details about the route editing page?
--
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
[GitHub] [apisix] tokers commented on issue #5389: request help: path parameter in the route
Posted by GitBox <gi...@apache.org>.
tokers commented on issue #5389:
URL: https://github.com/apache/apisix/issues/5389#issuecomment-957019699
@hozaifaaoud The pronoun `it` is ambiguous, do you mean the apisix-dashboard returns `{"status":400,"message":"#/id: expected type: Integer, found: String"}`? Could you give some details about the route editing page?
--
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
[GitHub] [apisix] tokers commented on issue #5389: request help: path parameter in the route
Posted by GitBox <gi...@apache.org>.
tokers commented on issue #5389:
URL: https://github.com/apache/apisix/issues/5389#issuecomment-957019699
@hozaifaaoud The pronoun `it` is ambiguous, do you mean the apisix-dashboard returns `{"status":400,"message":"#/id: expected type: Integer, found: String"}`? Could you give some details about the route editing page?
--
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