spacewander edited a comment on issue #2621: URL: https://github.com/apache/apisix/issues/2621#issuecomment-721546100
Can't reproduce in my side. I got: ```shell ¥ curl http://127.0.0.1:9080/apisix/admin/routes/5 -H 'X-API-KEY: edd1c9f034335f136f87ad84b625c8f1' -X PUT -i -d ' { "methods": ["GET"], "uri": "/", "vars": [["server_port", "==", "9081"]], "upstream": { "type": "roundrobin", "nodes": { "192.168.1.149:8182": 1 } } }' HTTP/1.1 201 Created Server: openresty Date: Wed, 04 Nov 2020 06:48:47 GMT Content-Type: application/json Transfer-Encoding: chunked Connection: keep-alive Access-Control-Allow-Origin: * Access-Control-Allow-Credentials: true Access-Control-Expose-Headers: * Access-Control-Max-Age: 3600 {"action":"set","node":{"value":{"id":"5","vars":[["server_port","==","9081"]],"methods":["GET"],"uri":"\/","upstream":{"hash_on":"vars","type":"roundrobin","pass_host":"pass","nodes":{"192.168.1.149:8182":1}},"priority":0},"key":"\/apisix\/routes\/5"},"header":{"revision":"5203","member_id":"10276657743932975437","raft_term":"64","cluster_id":"14841639068965178418"}} ``` Could you provide the error log? ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected]
