2010-12-21, 03:59
I'm using prototype Ajax.Request for the task...
The response I get is a -32700 Parse Error...
Anyone out there familiar with this method, and what I may be doing wrong?
Thanks!
Code:
var request = new Ajax.Request("http://10.1.2.143:8081/jsonrpc", {
method: "post",
parameters: { jsonrpc: "2.0", method: "JSONRPC.Introspect", id: 1},
onSuccess: function(transport) {
console.log(transport);
}
});
The response I get is a -32700 Parse Error...
Anyone out there familiar with this method, and what I may be doing wrong?
Thanks!