mirror of
https://gitee.com/iresty/apisix.git
synced 2024-12-02 20:17:35 +08:00
docs: fix the code block language (#5381)
This commit is contained in:
parent
c700c43bfb
commit
2400cd7bb4
@ -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",
|
||||||
|
@ -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",
|
||||||
|
Loading…
Reference in New Issue
Block a user