{"action":"created","issue":{"url":"https://api.github.com/repos/CachetHQ/Cachet/issues/1636","repository_url":"https://api.github.com/repos/CachetHQ/Cachet","labels_url":"https://api.github.com/repos/CachetHQ/Cachet/issues/1636/labels{/name}","comments_url":"https://api.github.com/repos/CachetHQ/Cachet/issues/1636/comments","events_url":"https://api.github.com/repos/CachetHQ/Cachet/issues/1636/events","html_url":"https://github.com/CachetHQ/Cachet/issues/1636","id":141964918,"number":1636,"title":"POST to /metrics/:id/points request returns 406 without header Accept: */*","user":{"login":"meonkeys","id":50639,"avatar_url":"https://avatars.githubusercontent.com/u/50639?v=3","gravatar_id":"","url":"https://api.github.com/users/meonkeys","html_url":"https://github.com/meonkeys","followers_url":"https://api.github.com/users/meonkeys/followers","following_url":"https://api.github.com/users/meonkeys/following{/other_user}","gists_url":"https://api.github.com/users/meonkeys/gists{/gist_id}","starred_url":"https://api.github.com/users/meonkeys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/meonkeys/subscriptions","organizations_url":"https://api.github.com/users/meonkeys/orgs","repos_url":"https://api.github.com/users/meonkeys/repos","events_url":"https://api.github.com/users/meonkeys/events{/privacy}","received_events_url":"https://api.github.com/users/meonkeys/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/CachetHQ/Cachet/labels/T:%20Bug","name":"T: Bug","color":"26A69A"}],"state":"closed","locked":false,"assignee":{"login":"jbrooksuk","id":246103,"avatar_url":"https://avatars.githubusercontent.com/u/246103?v=3","gravatar_id":"","url":"https://api.github.com/users/jbrooksuk","html_url":"https://github.com/jbrooksuk","followers_url":"https://api.github.com/users/jbrooksuk/followers","following_url":"https://api.github.com/users/jbrooksuk/following{/other_user}","gists_url":"https://api.github.com/users/jbrooksuk/gists{/gist_id}","starred_url":"https://api.github.com/users/jbrooksuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbrooksuk/subscriptions","organizations_url":"https://api.github.com/users/jbrooksuk/orgs","repos_url":"https://api.github.com/users/jbrooksuk/repos","events_url":"https://api.github.com/users/jbrooksuk/events{/privacy}","received_events_url":"https://api.github.com/users/jbrooksuk/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/CachetHQ/Cachet/milestones/13","html_url":"https://github.com/CachetHQ/Cachet/milestones/V2.2.0","labels_url":"https://api.github.com/repos/CachetHQ/Cachet/milestones/13/labels","id":1433454,"number":13,"title":"V2.2.0","description":"","creator":{"login":"GrahamCampbell","id":2829600,"avatar_url":"https://avatars.githubusercontent.com/u/2829600?v=3","gravatar_id":"","url":"https://api.github.com/users/GrahamCampbell","html_url":"https://github.com/GrahamCampbell","followers_url":"https://api.github.com/users/GrahamCampbell/followers","following_url":"https://api.github.com/users/GrahamCampbell/following{/other_user}","gists_url":"https://api.github.com/users/GrahamCampbell/gists{/gist_id}","starred_url":"https://api.github.com/users/GrahamCampbell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GrahamCampbell/subscriptions","organizations_url":"https://api.github.com/users/GrahamCampbell/orgs","repos_url":"https://api.github.com/users/GrahamCampbell/repos","events_url":"https://api.github.com/users/GrahamCampbell/events{/privacy}","received_events_url":"https://api.github.com/users/GrahamCampbell/received_events","type":"User","site_admin":false},"open_issues":6,"closed_issues":110,"state":"open","created_at":"2015-11-28T17:43:28Z","updated_at":"2016-03-20T14:54:39Z","due_on":"2016-03-12T00:00:00Z","closed_at":null},"comments":2,"created_at":"2016-03-18T20:05:49Z","updated_at":"2016-03-20T14:55:07Z","closed_at":"2016-03-20T14:54:39Z","body":"My POST requests to `/metrics/:id/points` appear to require this `Accept` header:\r\n\r\n    Accept: */*\r\n\r\nThis one also works:\r\n\r\n    Accept: application/json, */*\r\n\r\nIf I omit this header or change it to `Accept: application/json`, I get this HTTP 406 response:\r\n\r\n````javascript\r\n{\r\n  \"errors\": [\r\n    {\r\n      \"id\": \"blah-blah-blah-GUID-blah\",\r\n      \"status\": 406,\r\n      \"title\": \"Not Acceptable\",\r\n      \"detail\": \"The requested resource is only capable of generating content not acceptable.\"\r\n    }\r\n  ]\r\n}\r\n````\r\n\r\nIs this expected?"},"comment":{"url":"https://api.github.com/repos/CachetHQ/Cachet/issues/comments/198946261","html_url":"https://github.com/CachetHQ/Cachet/issues/1636#issuecomment-198946261","issue_url":"https://api.github.com/repos/CachetHQ/Cachet/issues/1636","id":198946261,"user":{"login":"jbrooksuk","id":246103,"avatar_url":"https://avatars.githubusercontent.com/u/246103?v=3","gravatar_id":"","url":"https://api.github.com/users/jbrooksuk","html_url":"https://github.com/jbrooksuk","followers_url":"https://api.github.com/users/jbrooksuk/followers","following_url":"https://api.github.com/users/jbrooksuk/following{/other_user}","gists_url":"https://api.github.com/users/jbrooksuk/gists{/gist_id}","starred_url":"https://api.github.com/users/jbrooksuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbrooksuk/subscriptions","organizations_url":"https://api.github.com/users/jbrooksuk/orgs","repos_url":"https://api.github.com/users/jbrooksuk/repos","events_url":"https://api.github.com/users/jbrooksuk/events{/privacy}","received_events_url":"https://api.github.com/users/jbrooksuk/received_events","type":"User","site_admin":false},"created_at":"2016-03-20T14:55:07Z","updated_at":"2016-03-20T14:55:07Z","body":"Thanks for the bug report! Fixed :)"}}