[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

abondar24/JsonRpcDemo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

JsonRPCDemo

SpringBoot based JsonRPC demo

Demo consists of Server and Client

Build and run

In Server or Client directory

mvn clean install

java -jar target/Server-1.0-SNAPSHOT.jar
java -jar target/Client-1.0-SNAPSHOT.jar

To check client via curl

curl -H "Content-Type:application/json" -d '{"id":"1","jsonrpc":"2.0","method":"hello","params":{"name":"Alex"}}' http://localhost:8024/demoService
curl -H "Content-Type:application/json" -d '{"id":"1","jsonrpc":"2.0","method":"getDate"}' http://localhost:8024/demoService

About

Spring Boot based JsonRPC demo

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages