Skip to content

Instantly share code, notes, and snippets.

@ntoskrnl
Last active September 19, 2017 22:35
Show Gist options
  • Save ntoskrnl/f9c0f4ff892136e51fda96ab223e51bb to your computer and use it in GitHub Desktop.
Save ntoskrnl/f9c0f4ff892136e51fda96ab223e51bb to your computer and use it in GitHub Desktop.
JSON-RPC 2.0 request and response example
--> {"jsonrpc": "2.0", "method": "subtract", "params": {"minuend": 42, "subtrahend": 23}, "id": 3}
<-- {"jsonrpc": "2.0", "result": 19, "id": 3}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment