kamranyaseen / node-rpc-example

build an RPC based API with node.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

node-rpc-example

build an RPC based API with node.js

Service URL:

http://localhost:9090/rpc.

Call the createUser method

{
    "createUser": {
        "name":"Kamran Yaseen",
        "age":21
    }
}

Call the fetchAllUsers method

{
	"fetchAllUsers":""
}

Call the fetchUser method

{
    "fetchUser": {
    	"id":"6699468"
    }
}

About

build an RPC based API with node.js

License:MIT License


Languages

Language:JavaScript 100.0%