{"action":"created","issue":{"url":"https://api.github.com/repos/postmanlabs/newman/issues/456","repository_url":"https://api.github.com/repos/postmanlabs/newman","labels_url":"https://api.github.com/repos/postmanlabs/newman/issues/456/labels{/name}","comments_url":"https://api.github.com/repos/postmanlabs/newman/issues/456/comments","events_url":"https://api.github.com/repos/postmanlabs/newman/issues/456/events","html_url":"https://github.com/postmanlabs/newman/issues/456","id":166991545,"number":456,"title":"Do not know how to attach a file with \"binary dataMode\"","user":{"login":"WalterInSH","id":4099427,"avatar_url":"https://avatars.githubusercontent.com/u/4099427?v=3","gravatar_id":"","url":"https://api.github.com/users/WalterInSH","html_url":"https://github.com/WalterInSH","followers_url":"https://api.github.com/users/WalterInSH/followers","following_url":"https://api.github.com/users/WalterInSH/following{/other_user}","gists_url":"https://api.github.com/users/WalterInSH/gists{/gist_id}","starred_url":"https://api.github.com/users/WalterInSH/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WalterInSH/subscriptions","organizations_url":"https://api.github.com/users/WalterInSH/orgs","repos_url":"https://api.github.com/users/WalterInSH/repos","events_url":"https://api.github.com/users/WalterInSH/events{/privacy}","received_events_url":"https://api.github.com/users/WalterInSH/received_events","type":"User","site_admin":false},"labels":[{"id":84268811,"url":"https://api.github.com/repos/postmanlabs/newman/labels/question","name":"question","color":"cc317c","default":true}],"state":"closed","locked":false,"assignee":{"login":"abhijitkane","id":681190,"avatar_url":"https://avatars.githubusercontent.com/u/681190?v=3","gravatar_id":"","url":"https://api.github.com/users/abhijitkane","html_url":"https://github.com/abhijitkane","followers_url":"https://api.github.com/users/abhijitkane/followers","following_url":"https://api.github.com/users/abhijitkane/following{/other_user}","gists_url":"https://api.github.com/users/abhijitkane/gists{/gist_id}","starred_url":"https://api.github.com/users/abhijitkane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abhijitkane/subscriptions","organizations_url":"https://api.github.com/users/abhijitkane/orgs","repos_url":"https://api.github.com/users/abhijitkane/repos","events_url":"https://api.github.com/users/abhijitkane/events{/privacy}","received_events_url":"https://api.github.com/users/abhijitkane/received_events","type":"User","site_admin":false},"assignees":[{"login":"abhijitkane","id":681190,"avatar_url":"https://avatars.githubusercontent.com/u/681190?v=3","gravatar_id":"","url":"https://api.github.com/users/abhijitkane","html_url":"https://github.com/abhijitkane","followers_url":"https://api.github.com/users/abhijitkane/followers","following_url":"https://api.github.com/users/abhijitkane/following{/other_user}","gists_url":"https://api.github.com/users/abhijitkane/gists{/gist_id}","starred_url":"https://api.github.com/users/abhijitkane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abhijitkane/subscriptions","organizations_url":"https://api.github.com/users/abhijitkane/orgs","repos_url":"https://api.github.com/users/abhijitkane/repos","events_url":"https://api.github.com/users/abhijitkane/events{/privacy}","received_events_url":"https://api.github.com/users/abhijitkane/received_events","type":"User","site_admin":false}],"milestone":null,"comments":25,"created_at":"2016-07-22T08:06:13Z","updated_at":"2016-12-01T11:30:06Z","closed_at":"2016-09-29T12:56:59Z","body":"Hi \nI'm running a newman json file. It's a post request sending a file to servers.\nI successfully run this same request on Postman client. But I don't know how to attach a file with newman.\n\nI've tried this post:https://www.getpostman.com/docs/run_file_post_requests\nBut it's not working to me.\n\n```\nnewman -c testfile.json\n```\n\nHere is the json file\n\n```\n{\n    \"id\": \"d84a975c-5232-cec2-dd15-1e2c7d416523\",\n    \"name\": \"Test\",\n    \"description\": \"\",\n    \"order\": [\n        \"e534d07c-6024-6cac-cc00-2dabf3ce0985\"\n    ],\n    \"folders\": [],\n    \"timestamp\": 1469168677509,\n    \"owner\": \"205566\",\n    \"remoteLink\": \"\",\n    \"public\": false,\n    \"published\": false,\n    \"requests\": [\n        {\n            \"id\": \"e534d07c-6024-6cac-cc00-2dabf3ce0985\",\n            \"headers\": \"\",\n            \"url\": \"http://url\",\n            \"preRequestScript\": null,\n            \"pathVariables\": {},\n            \"method\": \"POST\",\n            \"data\": [],\n            \"dataMode\": \"binary\",\n            \"version\": 2,\n            \"tests\": \"tests[\\\"Status code is 200\\\"] = responseCode.code === 200;\",\n            \"currentHelper\": \"normal\",\n            \"helperAttributes\": {},\n            \"time\": 1469170668826,\n            \"name\": \"name\"\",\n            \"description\": \"\",\n            \"collectionId\": \"d84a975c-5232-cec2-dd15-1e2c7d416523\",\n            \"responses\": [],\n            \"rawModeData\": \"\"\n        }\n    ]\n}\n\n```\n\nHope get your reply soon, thanks!\n"},"comment":{"url":"https://api.github.com/repos/postmanlabs/newman/issues/comments/264148399","html_url":"https://github.com/postmanlabs/newman/issues/456#issuecomment-264148399","issue_url":"https://api.github.com/repos/postmanlabs/newman/issues/456","id":264148399,"user":{"login":"kunagpal","id":7289840,"avatar_url":"https://avatars.githubusercontent.com/u/7289840?v=3","gravatar_id":"","url":"https://api.github.com/users/kunagpal","html_url":"https://github.com/kunagpal","followers_url":"https://api.github.com/users/kunagpal/followers","following_url":"https://api.github.com/users/kunagpal/following{/other_user}","gists_url":"https://api.github.com/users/kunagpal/gists{/gist_id}","starred_url":"https://api.github.com/users/kunagpal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kunagpal/subscriptions","organizations_url":"https://api.github.com/users/kunagpal/orgs","repos_url":"https://api.github.com/users/kunagpal/repos","events_url":"https://api.github.com/users/kunagpal/events{/privacy}","received_events_url":"https://api.github.com/users/kunagpal/received_events","type":"User","site_admin":false},"created_at":"2016-12-01T11:30:06Z","updated_at":"2016-12-01T11:30:06Z","body":"@pietervanneste We're investigating this on our end as well. As a **temporary** workaround, please set `body.mode` to `file`, and `body.file` to `path/filename`. We'll notify you when any changes happen on this."}}
{"actor":{"display_login":"kunagpal"}}