diff options
Diffstat (limited to 'example/test.http')
-rw-r--r-- | example/test.http | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/example/test.http b/example/test.http index e126917..9e71f9e 100644 --- a/example/test.http +++ b/example/test.http @@ -19,7 +19,7 @@ Content-Type: application/json "method": "divide", "params": { "a": 10, - "b": 3 + "b": 10 }, "id": 2 } @@ -44,3 +44,18 @@ Content-Type: application/json {"foo": "boo"} {"jsonrpc": "2.0", "method": "foo.get", "params": {"name": "myself"}, "id": "5"} {"jsonrpc": "2.0", "method": "get_data", "id": "9"} + { + "jsonrpc": "2.0", + "method": "divide", + "params": { + "a": 10, + "b": 0 + }, + "id": "divide" + } + { + "jsonrpc": "2.0", + "method": "divide", + "params": {}, + "id": "divide" + } |