{"action":"created","issue":{"url":"https://api.github.com/repos/cantino/huginn/issues/1361","repository_url":"https://api.github.com/repos/cantino/huginn","labels_url":"https://api.github.com/repos/cantino/huginn/issues/1361/labels{/name}","comments_url":"https://api.github.com/repos/cantino/huginn/issues/1361/comments","events_url":"https://api.github.com/repos/cantino/huginn/issues/1361/events","html_url":"https://github.com/cantino/huginn/issues/1361","id":142152961,"number":1361,"title":"PostAgent and XMLRPC - howto?","user":{"login":"nata-lee","id":13618343,"avatar_url":"https://avatars.githubusercontent.com/u/13618343?v=3","gravatar_id":"","url":"https://api.github.com/users/nata-lee","html_url":"https://github.com/nata-lee","followers_url":"https://api.github.com/users/nata-lee/followers","following_url":"https://api.github.com/users/nata-lee/following{/other_user}","gists_url":"https://api.github.com/users/nata-lee/gists{/gist_id}","starred_url":"https://api.github.com/users/nata-lee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nata-lee/subscriptions","organizations_url":"https://api.github.com/users/nata-lee/orgs","repos_url":"https://api.github.com/users/nata-lee/repos","events_url":"https://api.github.com/users/nata-lee/events{/privacy}","received_events_url":"https://api.github.com/users/nata-lee/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-03-20T11:19:26Z","updated_at":"2016-03-25T11:59:37Z","closed_at":null,"body":"Hello!\r\nHuginn makes my life easier, but some times I'm confused.\r\n\r\nI'd like to use xml-rpc with the PostAgent. Specification here: http://xmlrpc.scripting.com/spec.html\r\nBut I can't build the sctucture with multiple parameters with the same name. Huginn doesn't let me do this, it's always a json error.\r\nMy agent:\r\n`{\r\n  \"post_url\": \"http://domain/xmlrpc.php\",\r\n  \"expected_receive_period_in_days\": \"1\",\r\n  \"content_type\": \"xml\",\r\n  \"method\": \"post\",\r\n  \"no_merge\": \"true\",\r\n  \"xml_root\": \"methodCall\",\r\n  \"payload\": {\r\n    \"methodName\": \"wp.newPost\",\r\n    \"params\": {\r\n      \"param\": {\r\n        \"value\": \"1\"\r\n      }\r\n    }\r\n  },\r\n  \"headers\": {},\r\n  \"emit_events\": \"false\"\r\n}`\r\n\r\nI need more <param> and multible <member> but how? What am I doing wrong?\r\nCould you help me?"},"comment":{"url":"https://api.github.com/repos/cantino/huginn/issues/comments/201251670","html_url":"https://github.com/cantino/huginn/issues/1361#issuecomment-201251670","issue_url":"https://api.github.com/repos/cantino/huginn/issues/1361","id":201251670,"user":{"login":"nata-lee","id":13618343,"avatar_url":"https://avatars.githubusercontent.com/u/13618343?v=3","gravatar_id":"","url":"https://api.github.com/users/nata-lee","html_url":"https://github.com/nata-lee","followers_url":"https://api.github.com/users/nata-lee/followers","following_url":"https://api.github.com/users/nata-lee/following{/other_user}","gists_url":"https://api.github.com/users/nata-lee/gists{/gist_id}","starred_url":"https://api.github.com/users/nata-lee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nata-lee/subscriptions","organizations_url":"https://api.github.com/users/nata-lee/orgs","repos_url":"https://api.github.com/users/nata-lee/repos","events_url":"https://api.github.com/users/nata-lee/events{/privacy}","received_events_url":"https://api.github.com/users/nata-lee/received_events","type":"User","site_admin":false},"created_at":"2016-03-25T11:59:37Z","updated_at":"2016-03-25T11:59:37Z","body":"Hi @cantino, thank you for the answer.\r\nWell, I have no problem with XML-RPC then I use curl. And requests and responds are the next step.\r\nI'm confused how to format XML-RPC xmls (and all xmls in general) with huginn interfase and the PostAgent. I tried to form the request as I wrote in the last message, but I can't understand how to get such structure as:\r\n\r\n```\r\n<methodCall>\r\n   <methodName>examples.getStateName</methodName>\r\n   <params>\r\n      <param>\r\n         <value><i4>41</i4></value>\r\n         </param>\r\n      <param>\r\n         <value><user>testname</user></value>\r\n         </param>\r\n      </params>\r\n   </methodCall>\r\n```\r\n\r\nI just need an example."}}