doc: update router variable example (#2351)

This commit is contained in:
diaosj 2020-10-04 13:52:04 +08:00 committed by GitHub
parent c5dcced1cf
commit 2f3d6786e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -78,9 +78,11 @@ $ curl http://127.0.0.1:9080/apisix/admin/routes/1 -H 'X-API-KEY: edd1c9f034335f
{
"uri": "/index.html",
"vars": [
["http_host", "iresty.com"],
["cookie__device_id", "a66f0cdc4ba2df8c096f74c9110163a9"],
["arg_name", "jack"]
["http_host", "==", "iresty.com"],
["cookie_device_id", "==", "a66f0cdc4ba2df8c096f74c9110163a9"],
["arg_name", "==", "json"],
["arg_age", ">", "18"],
["arg_address", "~~", "China.*"]
],
"upstream": {
"type": "roundrobin",