JSON-RPC Request Named Parameters
The "params" member within a JSON-RPC request must contain named parameters and not positional arguments, because parameters to 4GL procedures are always passed by name and never by position.
A valid request:
{
"jsonrpc": "2.0",
"method": "subtract",
"params": {
"subtrahend": 23,
"minuend": 42
},
"id": 1
}
An invalid request:
{
"jsonrpc": "2.0",
"method": "subtract",
"params": [
23,
42
],
"id": 1
}
Last modified date: 12/20/2023