{"action":"created","issue":{"url":"https://api.github.com/repos/medic/medic-webapp/issues/983","labels_url":"https://api.github.com/repos/medic/medic-webapp/issues/983/labels{/name}","comments_url":"https://api.github.com/repos/medic/medic-webapp/issues/983/comments","events_url":"https://api.github.com/repos/medic/medic-webapp/issues/983/events","html_url":"https://github.com/medic/medic-webapp/issues/983","id":84768194,"number":983,"title":"/api/v1/records api should be compatible with odk collect","user":{"login":"mandric","id":25641,"avatar_url":"https://avatars.githubusercontent.com/u/25641?v=3","gravatar_id":"","url":"https://api.github.com/users/mandric","html_url":"https://github.com/mandric","followers_url":"https://api.github.com/users/mandric/followers","following_url":"https://api.github.com/users/mandric/following{/other_user}","gists_url":"https://api.github.com/users/mandric/gists{/gist_id}","starred_url":"https://api.github.com/users/mandric/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mandric/subscriptions","organizations_url":"https://api.github.com/users/mandric/orgs","repos_url":"https://api.github.com/users/mandric/repos","events_url":"https://api.github.com/users/mandric/events{/privacy}","received_events_url":"https://api.github.com/users/mandric/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"mandric","id":25641,"avatar_url":"https://avatars.githubusercontent.com/u/25641?v=3","gravatar_id":"","url":"https://api.github.com/users/mandric","html_url":"https://github.com/mandric","followers_url":"https://api.github.com/users/mandric/followers","following_url":"https://api.github.com/users/mandric/following{/other_user}","gists_url":"https://api.github.com/users/mandric/gists{/gist_id}","starred_url":"https://api.github.com/users/mandric/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mandric/subscriptions","organizations_url":"https://api.github.com/users/mandric/orgs","repos_url":"https://api.github.com/users/mandric/repos","events_url":"https://api.github.com/users/mandric/events{/privacy}","received_events_url":"https://api.github.com/users/mandric/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-06-03T20:56:07Z","updated_at":"2015-06-03T21:24:21Z","closed_at":null,"body":"pretty sure i'm parsing headers wrong in medic-api.  assert these headers work:\r\n```\r\n\"Content-Type\": \"application/x-www-form-urlencoded; charset=UTF-8\"\r\n\"Content-Type\": \"application/x-www-form-urlencoded; charset=utf-8\"\r\n\"Content-Type\": \"application/x-www-form-urlencoded\"\r\n```"},"comment":{"url":"https://api.github.com/repos/medic/medic-webapp/issues/comments/108619688","html_url":"https://github.com/medic/medic-webapp/issues/983#issuecomment-108619688","issue_url":"https://api.github.com/repos/medic/medic-webapp/issues/983","id":108619688,"user":{"login":"garethbowen","id":2064938,"avatar_url":"https://avatars.githubusercontent.com/u/2064938?v=3","gravatar_id":"","url":"https://api.github.com/users/garethbowen","html_url":"https://github.com/garethbowen","followers_url":"https://api.github.com/users/garethbowen/followers","following_url":"https://api.github.com/users/garethbowen/following{/other_user}","gists_url":"https://api.github.com/users/garethbowen/gists{/gist_id}","starred_url":"https://api.github.com/users/garethbowen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garethbowen/subscriptions","organizations_url":"https://api.github.com/users/garethbowen/orgs","repos_url":"https://api.github.com/users/garethbowen/repos","events_url":"https://api.github.com/users/garethbowen/events{/privacy}","received_events_url":"https://api.github.com/users/garethbowen/received_events","type":"User","site_admin":false},"created_at":"2015-06-03T21:24:21Z","updated_at":"2015-06-03T21:24:21Z","body":"> 2015-06-03T19:55:29.997Z - info: 127.0.0.1 - collect [03/Jun/2015:19:55:29 +0000] \"POST /api/v1/rec\r\nords?deviceID=imei%3A351746052385302 HTTP/1.0\" - - \"-\" \"-\"\r\n> 2015-06-03T19:55:30.033Z - error: Server error: \"Content type not supported.\"\r\n\r\nbut it works on /add ok..."}}