plugeth/rpc/testdata/reqresp-namedparam.js

6 lines
239 B
JavaScript
Raw Normal View History

// 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"}}