{"action":"created","issue":{"url":"https://api.github.com/repos/awslabs/aws-serverless-express/issues/39","repository_url":"https://api.github.com/repos/awslabs/aws-serverless-express","labels_url":"https://api.github.com/repos/awslabs/aws-serverless-express/issues/39/labels{/name}","comments_url":"https://api.github.com/repos/awslabs/aws-serverless-express/issues/39/comments","events_url":"https://api.github.com/repos/awslabs/aws-serverless-express/issues/39/events","html_url":"https://github.com/awslabs/aws-serverless-express/issues/39","id":203850352,"node_id":"MDU6SXNzdWUyMDM4NTAzNTI=","number":39,"title":"Fail to get binary data.","user":{"login":"skatpgusskat","id":3580430,"node_id":"MDQ6VXNlcjM1ODA0MzA=","avatar_url":"https://avatars3.githubusercontent.com/u/3580430?v=4","gravatar_id":"","url":"https://api.github.com/users/skatpgusskat","html_url":"https://github.com/skatpgusskat","followers_url":"https://api.github.com/users/skatpgusskat/followers","following_url":"https://api.github.com/users/skatpgusskat/following{/other_user}","gists_url":"https://api.github.com/users/skatpgusskat/gists{/gist_id}","starred_url":"https://api.github.com/users/skatpgusskat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skatpgusskat/subscriptions","organizations_url":"https://api.github.com/users/skatpgusskat/orgs","repos_url":"https://api.github.com/users/skatpgusskat/repos","events_url":"https://api.github.com/users/skatpgusskat/events{/privacy}","received_events_url":"https://api.github.com/users/skatpgusskat/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2017-01-29T04:47:09Z","updated_at":"2018-07-05T01:23:28Z","closed_at":"2017-01-31T01:08:10Z","author_association":"CONTRIBUTOR","body":"(Region : ap-northeast-2, seoul)\r\n\r\n### What I did\r\n1. Set API Gateway Binary Support, case of Conetent-type : application/octet-stream.\r\n2. Add binary types parameter on ```createServer``` from ```aws-serverless-express```\r\n3. Set request header ```Accept``` with ```application/octet-stream```.\r\n4. Send binary data like ```res.send(data);```. I checked ```isBase64Encoded``` is ```true```.\r\n\r\n### What I expected\r\nI expected to got binary data that decoded by api gateway\r\n\r\n### What I actually got\r\nI got base64 encoded values.\r\n\r\nAnd also, when I revert commit b61d288 , I could get binary data.\r\n\r\nWhat's wrong with me?"},"comment":{"url":"https://api.github.com/repos/awslabs/aws-serverless-express/issues/comments/402580822","html_url":"https://github.com/awslabs/aws-serverless-express/issues/39#issuecomment-402580822","issue_url":"https://api.github.com/repos/awslabs/aws-serverless-express/issues/39","id":402580822,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMjU4MDgyMg==","user":{"login":"dfloresgonz","id":17581509,"node_id":"MDQ6VXNlcjE3NTgxNTA5","avatar_url":"https://avatars0.githubusercontent.com/u/17581509?v=4","gravatar_id":"","url":"https://api.github.com/users/dfloresgonz","html_url":"https://github.com/dfloresgonz","followers_url":"https://api.github.com/users/dfloresgonz/followers","following_url":"https://api.github.com/users/dfloresgonz/following{/other_user}","gists_url":"https://api.github.com/users/dfloresgonz/gists{/gist_id}","starred_url":"https://api.github.com/users/dfloresgonz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dfloresgonz/subscriptions","organizations_url":"https://api.github.com/users/dfloresgonz/orgs","repos_url":"https://api.github.com/users/dfloresgonz/repos","events_url":"https://api.github.com/users/dfloresgonz/events{/privacy}","received_events_url":"https://api.github.com/users/dfloresgonz/received_events","type":"User","site_admin":false},"created_at":"2018-07-05T01:23:28Z","updated_at":"2018-07-05T01:23:28Z","author_association":"NONE","body":"@samikarak Did you solve it?"}}
{"actor":{"display_login":"dfloresgonz"}}