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

   I test in my ubuntu18.04, and it worked
   
![image](https://user-images.githubusercontent.com/9354193/215979065-8339eb66-e33f-407e-ba7d-52e5ae727de8.png)
   ```
   curl "http://127.0.0.1:9180/apisix/admin/upstreams/1"; \
   -H "X-API-KEY: edd1c9f034335f136f87ad84b625c8f1" -X PUT -d '
   {
     "type": "roundrobin",
     "nodes": {
       "httpbin.org:80": 1
     }
   }'
   
   curl "http://127.0.0.1:9180/apisix/admin/routes/1"; \
   -H "X-API-KEY: edd1c9f034335f136f87ad84b625c8f1" -X PUT -d '
   {
     "methods": ["GET"],
     "host": "example.com",
     "uri": "/anything/*",
     "upstream_id": "1"
   }'
   
   curl -i -X GET "http://127.0.0.1:9080/anything/get?foo1=bar1&foo2=bar2"; -H 
"Host: example.com"
   HTTP/1.1 200 OK
   Content-Type: application/json
   Content-Length: 462
   Connection: keep-alive
   Date: Wed, 01 Feb 2023 07:19:08 GMT
   Access-Control-Allow-Origin: *
   Access-Control-Allow-Credentials: true
   Server: APISIX/3.0.0
   ```
   So I think it's your windows' problem?


-- 
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