{"action":"closed","issue":{"url":"https://api.github.com/repos/bulkan/robotframework-requests/issues/105","repository_url":"https://api.github.com/repos/bulkan/robotframework-requests","labels_url":"https://api.github.com/repos/bulkan/robotframework-requests/issues/105/labels{/name}","comments_url":"https://api.github.com/repos/bulkan/robotframework-requests/issues/105/comments","events_url":"https://api.github.com/repos/bulkan/robotframework-requests/issues/105/events","html_url":"https://github.com/bulkan/robotframework-requests/issues/105","id":147452800,"number":105,"title":"Post request keyword troubles from version 0.4.2 upwards","user":{"login":"arjenjobse","id":18400156,"avatar_url":"https://avatars.githubusercontent.com/u/18400156?v=3","gravatar_id":"","url":"https://api.github.com/users/arjenjobse","html_url":"https://github.com/arjenjobse","followers_url":"https://api.github.com/users/arjenjobse/followers","following_url":"https://api.github.com/users/arjenjobse/following{/other_user}","gists_url":"https://api.github.com/users/arjenjobse/gists{/gist_id}","starred_url":"https://api.github.com/users/arjenjobse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arjenjobse/subscriptions","organizations_url":"https://api.github.com/users/arjenjobse/orgs","repos_url":"https://api.github.com/users/arjenjobse/repos","events_url":"https://api.github.com/users/arjenjobse/events{/privacy}","received_events_url":"https://api.github.com/users/arjenjobse/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-11T14:46:30Z","updated_at":"2016-04-14T03:48:05Z","closed_at":"2016-04-14T03:48:05Z","body":"Since update to version 0.4.2 my testcase doesn't work anymore.\r\n\r\nMy testcases:\r\n\r\n_Requests-library updaten\r\n    RequestsLibrary.Create Session    AWACS    ${awacs_url}\r\n    ${request}=    Get Binary File    ../RobotFramework/Test_code/_Data/test01.xml\r\n    ${requests}=    Create Dictionary    request=${request}\r\n    ${resp}=    RequestsLibrary.Post Request    AWACS    ${awacs_uri}    ${requests}\r\n    Delete All Sessions_\r\n\r\n\r\nThis gives me incorrect XML. Example in run log:\r\n_Post Request using : alias=AWACS, uri=/anva/awacs/absagent, data=request=**%3C**AWACS**%3E**%3CHEADER%3E%3CSERVICE_ID%3EABSANVA%3C%2FSERVICE_ID%3E%3CDATASOURCE%3E1%3C%2FDATASOURCE%3E%3CKEY%2F%3E%3C%2FHEADER%3E%3CDATA%3E%3CREQUEST%3E%3CFUNCTION+NAME%3D%22 ..._\r\n\r\nI can solve this by adding single quotes ('), but that doesn't work. I mean: _${resp}=    RequestsLibrary.Post Request    AWACS    ${awacs_uri}    '${requests}'_\r\n\r\n\r\nThe recieving side says he's missing the \"request\" parameter.\r\n\r\nIn the working version (previous versions like 0.4.1) it looks like this:\r\n_Post Request using : alias=AWACS, uri=/anva/awacs/absagent, data='{u'request': '<AWACS><HEADER><SERVICE_ID>ABSANVA</SERVICE_ID><DATASOURCE>1</DATASOURCE><KEY/></HEADER><DATA><REQUEST> ..._"}}