Implementation of JSON-RPC protocol based on Spring Boot.
wcollections
git clone https://github.com/giosil/wcollections.git
mvn clean install
- this will publishwcollections-1.0.0.jar
in Maven local repository
git clone https://github.com/giosil/micro-json-rpc.git
mvn clean install
mvn spring-boot:run
docker compose up -d
POST http://localhost:8080/rpc
Content-Type: application/json
{
"id": 1,
"jsonrpc": "2.0",
"method": "DEMO.hello",
"params": ["world"]
}
{
"id": 1,
"jsonrpc": "2.0",
"method": "DEMO.helloObj",
"params": ["world"]
}
http://localhost:8080/api-docs