RPC request for polling

May 27, 2014 00:03

Hey there!
I try to send request to Lj rpc-xml server for polling, but it return an error 203 - "Invalid argument(s): answers [203]".

Poll has ID 1968584 and chosen answer is 2.

The data that I send:

requestHash = new HashMap();

requestHash.put("pollid", "1968584");
requestHash.put("answers", "2");client.call("LJ.XMLRPC.votepoll", requestHash ( Read more... )

client: posting, client

Leave a comment

Comments 2

(The comment has been removed)

be_progressive May 27 2014, 13:24:01 UTC
Yes, I've figured it out )) Thanks

Reply


be_progressive May 27 2014, 13:25:24 UTC
The problem is solved. That 'HASH' means Map.

Reply


Leave a comment

Up