monkeyDluffy6017 commented on issue #8785:
URL: https://github.com/apache/apisix/issues/8785#issuecomment-1418631412

   I don't know what do you mean, did you manage to get the example running?
   ```
   curl -i http://127.0.0.1:9180/apisix/admin/routes/1  \
   -H 'X-API-KEY: edd1c9f034335f136f87ad84b625c8f1' -X PUT -d '
   {
       "uri": "/get",
       "plugins": {
   {
     "buffers": {
       "number": 8
     },
     "comp_level": 6,
     "disable": false,
     "types": "*"
   }
       },
       "upstream": {
           "type": "roundrobin",
           "nodes": {
               "httpbin.org:80": 1
           }
       }
   }'
   
   curl http://127.0.0.1:9080/get -i -H "Accept-Encoding: gzip"
   HTTP/1.1 200 OK
   Content-Type: application/json
   Transfer-Encoding: chunked
   Connection: keep-alive
   Date: Mon, 06 Feb 2023 07:26:14 GMT
   Access-Control-Allow-Origin: *
   Access-Control-Allow-Credentials: true
   Server: APISIX/2.99.0
   Content-Encoding: gzip
   
   Warning: Binary output can mess up your terminal. Use "--output -" to tell
   Warning: curl to output it to your terminal anyway, or consider "--output
   Warning: <FILE>" to save to a file.
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to