{"action":"opened","issue":{"url":"https://api.github.com/repos/medic/medic-collect/issues/3","labels_url":"https://api.github.com/repos/medic/medic-collect/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/medic/medic-collect/issues/3/comments","events_url":"https://api.github.com/repos/medic/medic-collect/issues/3/events","html_url":"https://github.com/medic/medic-collect/issues/3","id":100913209,"number":3,"title":"Send reports to medic-webapp using API","user":{"login":"abbyad","id":789512,"avatar_url":"https://avatars.githubusercontent.com/u/789512?v=3","gravatar_id":"","url":"https://api.github.com/users/abbyad","html_url":"https://github.com/abbyad","followers_url":"https://api.github.com/users/abbyad/followers","following_url":"https://api.github.com/users/abbyad/following{/other_user}","gists_url":"https://api.github.com/users/abbyad/gists{/gist_id}","starred_url":"https://api.github.com/users/abbyad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abbyad/subscriptions","organizations_url":"https://api.github.com/users/abbyad/orgs","repos_url":"https://api.github.com/users/abbyad/repos","events_url":"https://api.github.com/users/abbyad/events{/privacy}","received_events_url":"https://api.github.com/users/abbyad/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-14T02:13:15Z","updated_at":"2015-08-14T02:13:15Z","closed_at":null,"body":"Currently a 500 error is received when sending reports to `/api/v1/records` whereas `/add` works.\r\n\r\nLooking at the couch logs, it seems to be a 404 though (log posted privately).\r\n\r\nAside from any medic-webapp issues, it seems as though the headers should be fixed in Collect as well, as per the [API doc](https://github.com/medic/medic-api/blob/develop/API_v1.md#records)"}}