diff options
author | Alexander Kiryukhin <a.kiryukhin@mail.ru> | 2022-05-21 20:38:21 +0300 |
---|---|---|
committer | Alexander Kiryukhin <a.kiryukhin@mail.ru> | 2022-05-21 20:38:21 +0300 |
commit | 81389df9484c28dfcec1cf7592b8d0f8b7e4e8e1 (patch) | |
tree | 7a7d0440481e45b999e828b1e5ba2b28129658bc /examples/http/test.http | |
parent | d4708a3665e546eea57611b17441ad9b8c89e9a4 (diff) |
Improvments. Breaking changes
Diffstat (limited to 'examples/http/test.http')
-rw-r--r-- | examples/http/test.http | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/examples/http/test.http b/examples/http/test.http deleted file mode 100644 index d4e68b3..0000000 --- a/examples/http/test.http +++ /dev/null @@ -1,42 +0,0 @@ -POST http://localhost:8000/ -Content-Type: application/json - -{ - "jsonrpc": "2.0", - "method": "multiply", - "params": { - "a": 2, - "b": 3 - }, - "id": 1 -} - -### - -POST http://localhost:8000/ -Content-Type: application/json - -{ - "jsonrpc": "2.0", - "method": "divide", - "params": { - "a": 10, - "b": 3 - }, - "id": 2 -} - -### - -POST http://localhost:8000/ -Content-Type: application/json - -[ - { "jsonrpc": "2.0", "method": "multiply", "params": { "a": 2, "b": 3 }, "id": 10 }, - {"jsonrpc": "2.0", "method": "sum", "params": [1,2,4], "id": "1"}, - {"jsonrpc": "2.0", "method": "notify_hello", "params": [7]}, - {"jsonrpc": "2.0", "method": "subtract", "params": [42,23], "id": "2"}, - {"foo": "boo"}, - {"jsonrpc": "2.0", "method": "foo.get", "params": {"name": "myself"}, "id": "5"}, - {"jsonrpc": "2.0", "method": "get_data", "id": "9"} -]
\ No newline at end of file |