{"action":"created","issue":{"url":"https://api.github.com/repos/axios/axios/issues/859","repository_url":"https://api.github.com/repos/axios/axios","labels_url":"https://api.github.com/repos/axios/axios/issues/859/labels{/name}","comments_url":"https://api.github.com/repos/axios/axios/issues/859/comments","events_url":"https://api.github.com/repos/axios/axios/issues/859/events","html_url":"https://github.com/axios/axios/issues/859","id":223884414,"node_id":"MDU6SXNzdWUyMjM4ODQ0MTQ=","number":859,"title":"Charset utf8 fixed in header","user":{"login":"andrejunqueira1","id":14182761,"node_id":"MDQ6VXNlcjE0MTgyNzYx","avatar_url":"https://avatars1.githubusercontent.com/u/14182761?v=4","gravatar_id":"","url":"https://api.github.com/users/andrejunqueira1","html_url":"https://github.com/andrejunqueira1","followers_url":"https://api.github.com/users/andrejunqueira1/followers","following_url":"https://api.github.com/users/andrejunqueira1/following{/other_user}","gists_url":"https://api.github.com/users/andrejunqueira1/gists{/gist_id}","starred_url":"https://api.github.com/users/andrejunqueira1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrejunqueira1/subscriptions","organizations_url":"https://api.github.com/users/andrejunqueira1/orgs","repos_url":"https://api.github.com/users/andrejunqueira1/repos","events_url":"https://api.github.com/users/andrejunqueira1/events{/privacy}","received_events_url":"https://api.github.com/users/andrejunqueira1/received_events","type":"User","site_admin":false},"labels":[{"id":426263978,"node_id":"MDU6TGFiZWw0MjYyNjM5Nzg=","url":"https://api.github.com/repos/axios/axios/labels/non-issue","name":"non-issue","color":"bfdadc","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2017-04-24T16:52:57Z","updated_at":"2018-06-19T15:45:06Z","closed_at":"2017-08-17T19:32:07Z","author_association":"NONE","body":"i'm using axios in my RN app, when i make a post request with Content-type=application/json, the axios aways place \";charset=utf-8\" in the end of Content-Type, and the api that i'm using don't recognize the data because the charset is set as utf-8."},"comment":{"url":"https://api.github.com/repos/axios/axios/issues/comments/398447158","html_url":"https://github.com/axios/axios/issues/859#issuecomment-398447158","issue_url":"https://api.github.com/repos/axios/axios/issues/859","id":398447158,"node_id":"MDEyOklzc3VlQ29tbWVudDM5ODQ0NzE1OA==","user":{"login":"beeetooo","id":13922607,"node_id":"MDQ6VXNlcjEzOTIyNjA3","avatar_url":"https://avatars1.githubusercontent.com/u/13922607?v=4","gravatar_id":"","url":"https://api.github.com/users/beeetooo","html_url":"https://github.com/beeetooo","followers_url":"https://api.github.com/users/beeetooo/followers","following_url":"https://api.github.com/users/beeetooo/following{/other_user}","gists_url":"https://api.github.com/users/beeetooo/gists{/gist_id}","starred_url":"https://api.github.com/users/beeetooo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/beeetooo/subscriptions","organizations_url":"https://api.github.com/users/beeetooo/orgs","repos_url":"https://api.github.com/users/beeetooo/repos","events_url":"https://api.github.com/users/beeetooo/events{/privacy}","received_events_url":"https://api.github.com/users/beeetooo/received_events","type":"User","site_admin":false},"created_at":"2018-06-19T15:45:06Z","updated_at":"2018-06-19T15:45:06Z","author_association":"NONE","body":"Lol it's good to know where that line was hahaha.\r\nYeah, tbh I don't work anymore at the codebase where I had to fix that problem, but I'm pretty sure I solved that problem by putting that line of \r\n`client.defaults.headers['Content-Type'] = 'application/json';`\r\n\r\nIf not, maybe you can try by replacing `client` with `axios`, and if that doesn't work, at least I tried 😿I'm pretty sure it'll get solved :+1:"}}
{"actor":{"display_login":"beeetooo"}}