JSON RPC - What is the “id” for?
JSON RPC - What is the “id” for? I don't understand what the ID is for in JSON RPC. Also, how bad is it considered to not use JSON-RPC.org's standards when developing a toolkit? There seems to be some ambiguity in the JSON-RPC world. P.S. The ID I'm referring to is the id in here: {"params":["Hello","World"],"method":"hello_world","id":1} 5 Answers 5 You're not guaranteed to get your answers back in the order you asked for them; the id is to help you sort that out. Oh, in the case of asynchronous calls. That makes sense. – orokusaki Feb 5 '10 at 22:29 What if JSON-RPC over HTTP? ID seems to be useless since HTTP is designed by request-response patt...