diff options
author | Alexander Kiryukhin <a.kiryukhin@mail.ru> | 2022-05-28 16:53:20 +0300 |
---|---|---|
committer | Alexander Kiryukhin <a.kiryukhin@mail.ru> | 2022-05-28 16:53:20 +0300 |
commit | f304a07a8cfe67b2a65f95f27eb10a9b854c4ef8 (patch) | |
tree | 9e6a7e9ea6b8d600cccac5a5d50f3232d631d073 /example/test.http | |
parent | 281eda83c9f4bcb06318444df3574df0840205fa (diff) |
Improved middlewares
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" + } |