itw-hewb commented on issue #4648: URL: https://github.com/apache/apisix/issues/4648#issuecomment-884630425
> 请确保您使用的是 APISIX 2.6。 > 这是我的结果: > > ``` > ¥ 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"} > ``` > > 响应头是完全不同的。 因此我也很疑惑 是否与我最开始从2.5版本直接升级到2.6版本有关系? -- 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]
