Firstsawyou edited a comment on issue #4221: URL: https://github.com/apache/apisix/issues/4221#issuecomment-839368919
You can directly create a route for proxy access like this: ```shell curl http://127.0.0.1:9280/apisix/admin/routes/1 -H 'X-API-KEY: edd1c9f034335f136f87ad84b625c8f1' -X PUT -d ' { "uri": "/user/hello", "upstream": { "type": "roundrobin", "nodes": { "10.101.42.163:8082": 1 } } }' ``` ```shell curl http://10.255.249.3:9080/user/hello ``` This way you don't have to create upstream objects separately. -- 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]
