{"action":"created","issue":{"url":"https://api.github.com/repos/jaydenseric/apollo-upload-client/issues/131","repository_url":"https://api.github.com/repos/jaydenseric/apollo-upload-client","labels_url":"https://api.github.com/repos/jaydenseric/apollo-upload-client/issues/131/labels{/name}","comments_url":"https://api.github.com/repos/jaydenseric/apollo-upload-client/issues/131/comments","events_url":"https://api.github.com/repos/jaydenseric/apollo-upload-client/issues/131/events","html_url":"https://github.com/jaydenseric/apollo-upload-client/issues/131","id":382884445,"node_id":"MDU6SXNzdWUzODI4ODQ0NDU=","number":131,"title":"CORS error only with file attachment","user":{"login":"rosskevin","id":136564,"node_id":"MDQ6VXNlcjEzNjU2NA==","avatar_url":"https://avatars1.githubusercontent.com/u/136564?v=4","gravatar_id":"","url":"https://api.github.com/users/rosskevin","html_url":"https://github.com/rosskevin","followers_url":"https://api.github.com/users/rosskevin/followers","following_url":"https://api.github.com/users/rosskevin/following{/other_user}","gists_url":"https://api.github.com/users/rosskevin/gists{/gist_id}","starred_url":"https://api.github.com/users/rosskevin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rosskevin/subscriptions","organizations_url":"https://api.github.com/users/rosskevin/orgs","repos_url":"https://api.github.com/users/rosskevin/repos","events_url":"https://api.github.com/users/rosskevin/events{/privacy}","received_events_url":"https://api.github.com/users/rosskevin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":13,"created_at":"2018-11-20T23:04:12Z","updated_at":"2018-11-21T00:14:53Z","closed_at":null,"author_association":"NONE","body":"I've got a strange one.  I have CORS setup, which I'm about to show the evidence of below.  The app is working fine for all our GET/POST etc everywhere in the app, _except_ when using apollo-upload-client _with_ an attachment.\r\n\r\n```\r\nCross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://api.advisorintake.com.0.0.0.0.nip.io/graphql. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing)\r\n```\r\n\r\nAs I read the message, I can show that it is definitively not true, we provide `Access-Control-Allow-Origin: *`\r\n\r\nFor CORS, we allow:\r\n- `*` origins\r\n- `HEAD, GET, POST, OPTIONS` methods\r\n- any headers (though strangely the response only states `authorization`)\r\n\r\nBelow you'll see the OPTIONS:\r\n![options](https://user-images.githubusercontent.com/136564/48808102-59058500-ece5-11e8-9d2a-f812342b34d1.png)\r\n\r\nNow the POST:\r\n![post](https://user-images.githubusercontent.com/136564/48808149-83574280-ece5-11e8-8eba-e7caae7ba5f6.png)\r\n\r\nThis attachment is on a ContactEditMutation.  This mutation works fine as long as I do not add the attachment, which makes me think that I'm not insane...\r\n\r\nAm I missing something with the config of the apollo-upload-client?"},"comment":{"url":"https://api.github.com/repos/jaydenseric/apollo-upload-client/issues/comments/440477623","html_url":"https://github.com/jaydenseric/apollo-upload-client/issues/131#issuecomment-440477623","issue_url":"https://api.github.com/repos/jaydenseric/apollo-upload-client/issues/131","id":440477623,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MDQ3NzYyMw==","user":{"login":"jaydenseric","id":1754873,"node_id":"MDQ6VXNlcjE3NTQ4NzM=","avatar_url":"https://avatars0.githubusercontent.com/u/1754873?v=4","gravatar_id":"","url":"https://api.github.com/users/jaydenseric","html_url":"https://github.com/jaydenseric","followers_url":"https://api.github.com/users/jaydenseric/followers","following_url":"https://api.github.com/users/jaydenseric/following{/other_user}","gists_url":"https://api.github.com/users/jaydenseric/gists{/gist_id}","starred_url":"https://api.github.com/users/jaydenseric/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaydenseric/subscriptions","organizations_url":"https://api.github.com/users/jaydenseric/orgs","repos_url":"https://api.github.com/users/jaydenseric/repos","events_url":"https://api.github.com/users/jaydenseric/events{/privacy}","received_events_url":"https://api.github.com/users/jaydenseric/received_events","type":"User","site_admin":false},"created_at":"2018-11-21T00:14:53Z","updated_at":"2018-11-21T00:14:53Z","author_association":"OWNER","body":"If you try using native fetch in Chrome, does it work?"}}
{"actor":{"display_login":"jaydenseric"}}