rockXiaofeng edited a comment on issue #993:
URL: https://github.com/apache/dubbo-go/issues/993#issuecomment-797251487
For all configuration and version information, see:
https://github.com/apache/apisix/issues/3725
```
curl http://127.0.0.1:9080/apisix/admin/upstreams/1 -H 'X-API-KEY:
edd1c9f034335f136f87ad84b625c8f1' -X PUT -d '
{
"nodes": {
"127.0.0.1:20000": 1
},
"type": "roundrobin"
}'
curl http://127.0.0.1:9080/apisix/admin/routes/1 -H 'X-API-KEY:
edd1c9f034335f136f87ad84b625c8f1' -X PUT -d '
{
"uris": [
"/app"
],
"plugins": {
"dubbo-proxy": {
"service_name": "com.ikurento.users.UsersProvider",
"service_version": "1.0.0",
"method": "GetUser"
}
},
"upstream_id": 1
}'
```
Request with command:
```
curl localhost:9080/app -i
```
----------------------------------------------------------------
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]