You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2022/07/17 09:19:29 UTC
[GitHub] [dubbo-go-pixiu] mark4z commented on issue #452: why need "Types" and "Values" pair on Http to dubbo proxy
mark4z commented on issue #452:
URL: https://github.com/apache/dubbo-go-pixiu/issues/452#issuecomment-1186456246
In Dubbo java and the target method has method overloading, add the header and pass the method signature like this:
curl -X POST --location "http://localhost:8883/UserService/org.apache.dubbo.samples.UserProvider/GetUser1" \ -H "Content-Type: application/json" \ -H "x-dubbo-service-protocol: dubbo" \ -H "x-dubbo-service-method-overloading: java.lang.String,java.lang.String" \ -d "[\"A003\",\"A003\"]"
--
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: notifications-unsubscribe@dubbo.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org