Dubbo Proxy Quick Start

2020-06-01  本文已影响0人  香菜香菜我是折耳根
git clone https://github.com/leopeng1995/dubbo-proxy.git
cd dubbo-proxy
mvn package
java -jar target/*.jar
git clone https://github.com/apache/dubbo-spring-boot-project.git
cd dubbo-spring-boot-project
git checkout 2.7.7

请求格式详见文档 https://github.com/apache/dubbo-proxy

curl "http://192.168.33.1:8000/dubbo-registry-zookeeper-provider-sample/org.apache.dubbo.spring.boot.sample.consumer.DemoService?version=1.0.0" -d '
{
    "methodName" : "sayHello",
    "paramTypes" : ["java.lang.String"],
    "paramValues": [
        "leo"
    ]
}'
上一篇 下一篇

猜你喜欢

热点阅读