spacewander commented on issue #4648:
URL: https://github.com/apache/apisix/issues/4648#issuecomment-884629428
Please ensure you are using APISIX 2.6.
Here is my result:
```
¥ curl http://127.0.0.1:9080/apisix/admin/routes -H 'X-API-KEY:
edd1c9f034335f136f87ad84b625c8f1' -X POST -i -d '
{
"uri": "/testNacos/*",
"name": "testNacos",
"upstream": {
"service_name": "APISIX-NACOS",
"type": "roundrobin",
"discovery_type": "nacos"
}
}'
HTTP/1.1 201 Created
Server: openresty
Date: Thu, 22 Jul 2021 03:11:57 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
{"node":{"key":"\/apisix\/routes\/00000000000000254369","value":{"status":1,"uri":"\/testNacos\/*","create_time":1626923517,"update_time":1626923517,"priority":0,"name":"testNacos","upstream":{"scheme":"http","type":"roundrobin","service_name":"APISIX-NACOS","discovery_type":"nacos","pass_host":"pass","hash_on":"vars"}}},"action":"create"}
```
The response header is quite different.
--
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]