Noob question about jsonrpc (Bug.create)

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Noob question about jsonrpc (Bug.create)

I am playing with the Bugzilla rest interface using the Firefox plugin HTTPRequester. My setup looks like this:

URL: http://localhost:8080/jsonrpc.cgi
HTTP Content-Type = application/json
    "jsonrpc": "1.0",
    "method": "Bug.create",
    "id": "1",
    "params": {
       "version:" : "1.0",
       "platform": "Macintosh",
       "op_sys": "Mac OS"

But I keep getting an error in return from bz:
{"error":{"message":"Invalid params for JSONRPC 1.0.","code":100400},"id":"1","result":null}

Note that I can successfully use Bug.get and, although the method and params are encoded in the URL then.

Thanks for your patience and help!!