This is an example call for rpc_modules.
{
"jsonrpc": "2.0",
"id": "1",
"method": "rpc_modules",
"params": null
}
{
"jsonrpc": "2.0",
"id": "1",
"result": {
"eth": "1.0",
"net": "1.0",
"rpc": "1.0",
"web3": "1.0"
}
}