docs: fix the code block language (#5381)

This commit is contained in:
罗泽轩 2021-11-01 09:20:42 +08:00 committed by GitHub
parent c700c43bfb
commit 2400cd7bb4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -35,7 +35,7 @@ In addition to the basic complex equalization algorithm selection, APISIX's Upst
Create an upstream object use case: Create an upstream object use case:
```json ```shell
curl http://127.0.0.1:9080/apisix/admin/upstreams/1 -H 'X-API-KEY: edd1c9f034335f136f87ad84b625c8f1' -X PUT -d ' curl http://127.0.0.1:9080/apisix/admin/upstreams/1 -H 'X-API-KEY: edd1c9f034335f136f87ad84b625c8f1' -X PUT -d '
{ {
"type": "chash", "type": "chash",

View File

@ -36,7 +36,7 @@ APISIX 的 Upstream 除了基本的负载均衡算法选择外,还支持对上
创建上游对象用例: 创建上游对象用例:
```json ```shell
curl http://127.0.0.1:9080/apisix/admin/upstreams/1 -H 'X-API-KEY: edd1c9f034335f136f87ad84b625c8f1' -X PUT -d ' curl http://127.0.0.1:9080/apisix/admin/upstreams/1 -H 'X-API-KEY: edd1c9f034335f136f87ad84b625c8f1' -X PUT -d '
{ {
"type": "chash", "type": "chash",