Wiki batch example incorrect

29 views
Skip to first unread message

bbkr

unread,
Feb 6, 2013, 5:25:24 PM2/6/13
to json...@googlegroups.com
http://en.wikipedia.org/wiki/JSON-RPC#Version_2.0

Example says

--> [1,2,3]
<-- {"jsonrpc": "2.0", "error": {"code": -32600, "message": "Invalid JSON-RPC."}, "id": null}

but it should be

--> [1,2,3]
<-- [ {"jsonrpc": "2.0", "error": {"code": -32600, "message": "Invalid Request"}, "id": null}, {"jsonrpc": "2.0", "error": {"code": -32600, "message": "Invalid Request"}, "id": null}, {"jsonrpc": "2.0", "error": {"code": -32600, "message": "Invalid Request"}, "id": null} ]

according to spec.

Matt (MPCM)

unread,
Feb 7, 2013, 10:34:49 PM2/7/13
to json...@googlegroups.com
I haven't reviewed the wikipedia page recently, but feel free to update the details if it is wrong. :)
Reply all
Reply to author
Forward
0 new messages