mirror of
https://gitee.com/iresty/apisix.git
synced 2024-12-04 21:17:36 +08:00
docs: bind route to correct upstream_id in the example (#5380)
This commit is contained in:
parent
2bb86f6a97
commit
be43ba9dd2
@ -54,7 +54,7 @@ curl http://127.0.0.1:9080/apisix/admin/upstreams/1 -H 'X-API-KEY: edd1c9f034335
|
||||
curl http://127.0.0.1:9080/apisix/admin/routes/1 -H 'X-API-KEY: edd1c9f034335f136f87ad84b625c8f1' -X PUT -d '
|
||||
{
|
||||
"uri": "/index.html",
|
||||
"upstream_id": 2
|
||||
"upstream_id": 1
|
||||
}'
|
||||
```
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user