- Notifications
You must be signed in to change notification settings - Fork6
An implementation of JSON-RPC 2.0 specificationhttp://www.jsonrpc.org/specification
NotificationsYou must be signed in to change notification settings
michalliu/google-app-script-jsonrpc
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
An implementation of JSON-RPC 2.0 specificationhttp://www.jsonrpc.org/specification
rpc call with positional parameters:
https://script.google.com/macros/s/AKfycbwXJjoFuW-VdkcmuYOOnIFbhC3Xx7r1JUqQgZVVkVyNARt2kos/exec?op={"jsonrpc": "2.0", "method": "jsonRpcTest.substract", "params": [42, 23], "id": 4}rpc call with named parameters:
https://script.google.com/macros/s/AKfycbwXJjoFuW-VdkcmuYOOnIFbhC3Xx7r1JUqQgZVVkVyNARt2kos/exec?op={"jsonrpc": "2.0", "method": "jsonRpcTest.substract", "params": {"subtrahend": 23, "minuend": 42}, "id": 3}rpc call of non-existent method:
https://script.google.com/macros/s/AKfycbwXJjoFuW-VdkcmuYOOnIFbhC3Xx7r1JUqQgZVVkVyNARt2kos/exec?op={"jsonrpc": "2.0", "method": "foobar", "id": "1"}rpc call with invalid JSON:
https://script.google.com/macros/s/AKfycbwXJjoFuW-VdkcmuYOOnIFbhC3Xx7r1JUqQgZVVkVyNARt2kos/exec?op={"jsonrpc": "2.0", "method": "foobar, "params": "bar", "baz]rpc call with invalid Request object:
https://script.google.com/macros/s/AKfycbwXJjoFuW-VdkcmuYOOnIFbhC3Xx7r1JUqQgZVVkVyNARt2kos/exec?op={"jsonrpc": "2.0", "method": 1, "params": "bar"}rpc call Batch, invalid JSON:
https://script.google.com/macros/s/AKfycbwXJjoFuW-VdkcmuYOOnIFbhC3Xx7r1JUqQgZVVkVyNARt2kos/exec?op=[{"jsonrpc": "2.0", "method": "sum", "params": [1,2,4], "id": "1"},{"jsonrpc": "2.0", "method"]rpc call with an empty Array:
https://script.google.com/macros/s/AKfycbwXJjoFuW-VdkcmuYOOnIFbhC3Xx7r1JUqQgZVVkVyNARt2kos/exec?op=[]rpc call with an invalid Batch (but not empty):
https://script.google.com/macros/s/AKfycbwXJjoFuW-VdkcmuYOOnIFbhC3Xx7r1JUqQgZVVkVyNARt2kos/exec?op=[1]rpc call with invalid Batch:
https://script.google.com/macros/s/AKfycbwXJjoFuW-VdkcmuYOOnIFbhC3Xx7r1JUqQgZVVkVyNARt2kos/exec?op=[1,2,3]rpc call Batch:
https://script.google.com/macros/s/AKfycbwXJjoFuW-VdkcmuYOOnIFbhC3Xx7r1JUqQgZVVkVyNARt2kos/exec?op=[{"jsonrpc":"2.0","method":"jsonRpcTest.test","id":"1"},{"jsonrpc": "2.0", "method": "jsonRpcTest.substract", "params": {"subtrahend": 23, "minuend": 42}, "id": 2}]
About
An implementation of JSON-RPC 2.0 specificationhttp://www.jsonrpc.org/specification
Resources
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
No releases published
Packages0
No packages published
Contributors2
Uh oh!
There was an error while loading.Please reload this page.