6 lines
239 B
JavaScript
6 lines
239 B
JavaScript
// This test checks that an error response is sent for calls
|
|
// with named parameters.
|
|
|
|
--> {"jsonrpc":"2.0","method":"test_echo","params":{"int":23},"id":3}
|
|
<-- {"jsonrpc":"2.0","id":3,"error":{"code":-32602,"message":"non-array args"}}
|