docs: modify the error content in admin-api.md file (#4512)

This commit is contained in:
neOG 2021-07-01 19:13:02 +08:00 committed by GitHub
parent 95ac6fa143
commit d902cb197b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 6 deletions

View File

@ -618,9 +618,7 @@ $ curl http://127.0.0.1:9080/apisix/admin/upstreams/100 -H 'X-API-KEY: edd1c9f0
{
"type":"roundrobin",
"nodes":{
"127.0.0.1:80":1,
"127.0.0.2:80":2,
"foo.com:80":3
"39.97.63.215:80": 1
}
}'
HTTP/1.1 201 Created

View File

@ -623,9 +623,7 @@ $ curl http://127.0.0.1:9080/apisix/admin/upstreams/100 -H 'X-API-KEY: edd1c9f0
{
"type":"roundrobin",
"nodes":{
"127.0.0.1:80":1,
"127.0.0.2:80":2,
"foo.com:80":3
"39.97.63.215:80": 1
}
}'
HTTP/1.1 201 Created