{"action":"created","issue":{"url":"https://api.github.com/repos/mzabriskie/axios/issues/97","labels_url":"https://api.github.com/repos/mzabriskie/axios/issues/97/labels{/name}","comments_url":"https://api.github.com/repos/mzabriskie/axios/issues/97/comments","events_url":"https://api.github.com/repos/mzabriskie/axios/issues/97/events","html_url":"https://github.com/mzabriskie/axios/issues/97","id":98686828,"number":97,"title":"PUT and PATCH sending application/x-www-form-urlencoded data","user":{"login":"kalaspuffar","id":1424084,"avatar_url":"https://avatars.githubusercontent.com/u/1424084?v=3","gravatar_id":"","url":"https://api.github.com/users/kalaspuffar","html_url":"https://github.com/kalaspuffar","followers_url":"https://api.github.com/users/kalaspuffar/followers","following_url":"https://api.github.com/users/kalaspuffar/following{/other_user}","gists_url":"https://api.github.com/users/kalaspuffar/gists{/gist_id}","starred_url":"https://api.github.com/users/kalaspuffar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kalaspuffar/subscriptions","organizations_url":"https://api.github.com/users/kalaspuffar/orgs","repos_url":"https://api.github.com/users/kalaspuffar/repos","events_url":"https://api.github.com/users/kalaspuffar/events{/privacy}","received_events_url":"https://api.github.com/users/kalaspuffar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2015-08-03T07:24:17Z","updated_at":"2015-12-25T12:59:07Z","closed_at":null,"body":"Using 0.5.4\r\n\r\nI'm trying to use axios on my front end and fuel on the backend. Fuel Input::patch('param') will give me data from the form request of type patch. This is also true for PUT. Perhaps also POST a.s.o.\r\n\r\nWhen I use axios the data is empty and if I use jquery I get my data just fine.\r\n\r\n```javascript\r\n        $.ajax({\r\n            method: \"PATCH\",\r\n            url: URL,\r\n            data: {\r\n                'firstname': this.state.account.firstname,\r\n                'surname': this.state.account.surname,\r\n            }\r\n        })\r\n        .done(function( msg ) {\r\n            console.log(msg);\r\n        });\r\n```\r\n\r\n```javascript\r\n        axios.patch(URL, {\r\n                'firstname': this.state.account.firstname,\r\n                'surname': this.state.account.surname,\r\n            })\r\n            .then((response) => {\r\n                   console.log(response);\r\n            });\r\n```\r\n\r\nThe difference is if you look at chrome developer tools that jquery sends the data as formData and axios sends the data as json request payload. "},"comment":{"url":"https://api.github.com/repos/mzabriskie/axios/issues/comments/167234608","html_url":"https://github.com/mzabriskie/axios/issues/97#issuecomment-167234608","issue_url":"https://api.github.com/repos/mzabriskie/axios/issues/97","id":167234608,"user":{"login":"Bogdaan","id":2012115,"avatar_url":"https://avatars.githubusercontent.com/u/2012115?v=3","gravatar_id":"","url":"https://api.github.com/users/Bogdaan","html_url":"https://github.com/Bogdaan","followers_url":"https://api.github.com/users/Bogdaan/followers","following_url":"https://api.github.com/users/Bogdaan/following{/other_user}","gists_url":"https://api.github.com/users/Bogdaan/gists{/gist_id}","starred_url":"https://api.github.com/users/Bogdaan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bogdaan/subscriptions","organizations_url":"https://api.github.com/users/Bogdaan/orgs","repos_url":"https://api.github.com/users/Bogdaan/repos","events_url":"https://api.github.com/users/Bogdaan/events{/privacy}","received_events_url":"https://api.github.com/users/Bogdaan/received_events","type":"User","site_admin":false},"created_at":"2015-12-25T12:59:07Z","updated_at":"2015-12-25T12:59:07Z","body":"+1  x-www-form-urlencoded "}}