{"action":"opened","issue":{"url":"https://api.github.com/repos/hauxir/OpenBazaar-Server/issues/5","labels_url":"https://api.github.com/repos/hauxir/OpenBazaar-Server/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/hauxir/OpenBazaar-Server/issues/5/comments","events_url":"https://api.github.com/repos/hauxir/OpenBazaar-Server/issues/5/events","html_url":"https://github.com/hauxir/OpenBazaar-Server/issues/5","id":111427345,"number":5,"title":"Refactoring the API to receive JSON instead of FormData","user":{"login":"hauxir","id":2439255,"avatar_url":"https://avatars.githubusercontent.com/u/2439255?v=3","gravatar_id":"","url":"https://api.github.com/users/hauxir","html_url":"https://github.com/hauxir","followers_url":"https://api.github.com/users/hauxir/followers","following_url":"https://api.github.com/users/hauxir/following{/other_user}","gists_url":"https://api.github.com/users/hauxir/gists{/gist_id}","starred_url":"https://api.github.com/users/hauxir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hauxir/subscriptions","organizations_url":"https://api.github.com/users/hauxir/orgs","repos_url":"https://api.github.com/users/hauxir/repos","events_url":"https://api.github.com/users/hauxir/events{/privacy}","received_events_url":"https://api.github.com/users/hauxir/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-14T15:46:59Z","updated_at":"2015-10-14T15:46:59Z","closed_at":null,"body":"Right now the REST API only accepts regular Form Data from POST requests.\r\nThis makes it far more complex working with the data on the client.\r\nPrefarably the server should accept flat JSON data instead.\r\n\r\nThis requires quite a bit of refactoring both on the client and the server.\r\n"}}