Is there any documentation for this module? I'm confused as to what format I should using to pass data to the module. I can't get it to work at all.

Comments

voxpelli’s picture

For now use the javascript that comes with the module or look at how that works. No plan to add more documentation at the moment, but if anyone write it voluntarily it would be great :)

jaypan’s picture

I'll check out the javascript, but I'm not actually using javascript to post to this module, I'm doing it from an iphone. As such, it would be nice to at least have some documentation with the format that replies should have (I was using an iPhone JSON writer to write the code, and this module was denying it).

Hugo Wetterberg’s picture

JSON-RPC is a standard, so check out these specs:

JSON-RPC 1.1 draft: http://json-rpc.org/wd/JSON-RPC-1-1-WD-20060807.html
JSON-RPC 2.0 proposal: http://groups.google.com/group/json-rpc/web/json-rpc-1-2-proposal

jaypan’s picture

Thanks. I'll play with that.

jaypan’s picture

Does version 1.3 of this module support JSON-RPC 2.0, or do I need version 2?

jaypan’s picture

Alright, I think I've figured out that version 2 is required for JSON-RPC 2.0.