aboutsummaryrefslogtreecommitdiffstats
path: root/rpc/testdata/invalid-idonly.js
blob: 79997bee30604b1aa478b58ed948798d2ad4497a (plain) (blame)
1
2
3
4
5
6
7
// This test checks processing of messages that contain just the ID and nothing else.

--> {"id":1}
<-- {"jsonrpc":"2.0","id":1,"error":{"code":-32600,"message":"invalid request"}}

--> {"jsonrpc":"2.0","id":1}
<-- {"jsonrpc":"2.0","id":1,"error":{"code":-32600,"message":"invalid request"}}