build an RPC based API with node.js
Service URL:
Call the createUser method
{
"createUser": {
"name":"Kamran Yaseen",
"age":21
}
}
Call the fetchAllUsers method
{
"fetchAllUsers":""
}
Call the fetchUser method
{
"fetchUser": {
"id":"6699468"
}
}