From d902cb197bea3a951d151d92ef53b38d81939324 Mon Sep 17 00:00:00 2001 From: neOG Date: Thu, 1 Jul 2021 19:13:02 +0800 Subject: [PATCH] docs: modify the error content in admin-api.md file (#4512) --- docs/en/latest/admin-api.md | 4 +--- docs/zh/latest/admin-api.md | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/docs/en/latest/admin-api.md b/docs/en/latest/admin-api.md index 96e7819b..efa66338 100644 --- a/docs/en/latest/admin-api.md +++ b/docs/en/latest/admin-api.md @@ -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 diff --git a/docs/zh/latest/admin-api.md b/docs/zh/latest/admin-api.md index 58b4bd18..b8f2bfe8 100644 --- a/docs/zh/latest/admin-api.md +++ b/docs/zh/latest/admin-api.md @@ -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