docs: bind route to correct upstream_id in the example (#5380)

This commit is contained in:
Xunzhuo 2021-10-31 19:19:30 +08:00 committed by GitHub
parent 2bb86f6a97
commit be43ba9dd2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
}'
```