{"action":"created","issue":{"url":"https://api.github.com/repos/michidk/TwitchCSharp/issues/9","repository_url":"https://api.github.com/repos/michidk/TwitchCSharp","labels_url":"https://api.github.com/repos/michidk/TwitchCSharp/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/michidk/TwitchCSharp/issues/9/comments","events_url":"https://api.github.com/repos/michidk/TwitchCSharp/issues/9/events","html_url":"https://github.com/michidk/TwitchCSharp/issues/9","id":175246106,"number":9,"title":"GetEmoticons() wrong MIME response ","user":{"login":"ChillyFlashER","id":1263211,"avatar_url":"https://avatars.githubusercontent.com/u/1263211?v=3","gravatar_id":"","url":"https://api.github.com/users/ChillyFlashER","html_url":"https://github.com/ChillyFlashER","followers_url":"https://api.github.com/users/ChillyFlashER/followers","following_url":"https://api.github.com/users/ChillyFlashER/following{/other_user}","gists_url":"https://api.github.com/users/ChillyFlashER/gists{/gist_id}","starred_url":"https://api.github.com/users/ChillyFlashER/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChillyFlashER/subscriptions","organizations_url":"https://api.github.com/users/ChillyFlashER/orgs","repos_url":"https://api.github.com/users/ChillyFlashER/repos","events_url":"https://api.github.com/users/ChillyFlashER/events{/privacy}","received_events_url":"https://api.github.com/users/ChillyFlashER/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-09-06T13:24:44Z","updated_at":"2016-09-06T14:18:57Z","closed_at":null,"body":"```cs\r\npublic TwitchList<Emoticon> GetEmoticons()\r\n{\r\n    var request = GetRequest(\"chat/emoticons\", Method.GET);\r\n    var response = restClient.Execute<TwitchList<Emoticon>>(request);\r\n    return response.Data;\r\n}\r\n```\r\nThe response's **ContentType** is **\"text/html\"** which causes the data to not be parsed, a simple fix to this would be to change the request uri to **\"chat/emoticon_images\"**.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/michidk/TwitchCSharp/issues/comments/244964635","html_url":"https://github.com/michidk/TwitchCSharp/issues/9#issuecomment-244964635","issue_url":"https://api.github.com/repos/michidk/TwitchCSharp/issues/9","id":244964635,"user":{"login":"michidk","id":3979930,"avatar_url":"https://avatars.githubusercontent.com/u/3979930?v=3","gravatar_id":"","url":"https://api.github.com/users/michidk","html_url":"https://github.com/michidk","followers_url":"https://api.github.com/users/michidk/followers","following_url":"https://api.github.com/users/michidk/following{/other_user}","gists_url":"https://api.github.com/users/michidk/gists{/gist_id}","starred_url":"https://api.github.com/users/michidk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michidk/subscriptions","organizations_url":"https://api.github.com/users/michidk/orgs","repos_url":"https://api.github.com/users/michidk/repos","events_url":"https://api.github.com/users/michidk/events{/privacy}","received_events_url":"https://api.github.com/users/michidk/received_events","type":"User","site_admin":false},"created_at":"2016-09-06T14:18:57Z","updated_at":"2016-09-06T14:18:57Z","body":"Oh.. I see... Well there is a way to set the mime type for a request... maybe that works.. (http://stackoverflow.com/questions/17815065/set-content-type-header-using-restsharp)"}}
{"actor":{"display_login":"michidk"}}