{"action":"created","issue":{"url":"https://api.github.com/repos/thephpleague/oauth2-client/issues/381","labels_url":"https://api.github.com/repos/thephpleague/oauth2-client/issues/381/labels{/name}","comments_url":"https://api.github.com/repos/thephpleague/oauth2-client/issues/381/comments","events_url":"https://api.github.com/repos/thephpleague/oauth2-client/issues/381/events","html_url":"https://github.com/thephpleague/oauth2-client/pull/381","id":95057162,"number":381,"title":"adding content-type header to request to retrieve access token","user":{"login":"stevenmaguire","id":1851973,"avatar_url":"https://avatars.githubusercontent.com/u/1851973?v=3","gravatar_id":"","url":"https://api.github.com/users/stevenmaguire","html_url":"https://github.com/stevenmaguire","followers_url":"https://api.github.com/users/stevenmaguire/followers","following_url":"https://api.github.com/users/stevenmaguire/following{/other_user}","gists_url":"https://api.github.com/users/stevenmaguire/gists{/gist_id}","starred_url":"https://api.github.com/users/stevenmaguire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevenmaguire/subscriptions","organizations_url":"https://api.github.com/users/stevenmaguire/orgs","repos_url":"https://api.github.com/users/stevenmaguire/repos","events_url":"https://api.github.com/users/stevenmaguire/events{/privacy}","received_events_url":"https://api.github.com/users/stevenmaguire/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-07-14T22:28:35Z","updated_at":"2015-07-15T03:44:06Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/thephpleague/oauth2-client/pulls/381","html_url":"https://github.com/thephpleague/oauth2-client/pull/381","diff_url":"https://github.com/thephpleague/oauth2-client/pull/381.diff","patch_url":"https://github.com/thephpleague/oauth2-client/pull/381.patch"},"body":"Referenced in #348"},"comment":{"url":"https://api.github.com/repos/thephpleague/oauth2-client/issues/comments/121478070","html_url":"https://github.com/thephpleague/oauth2-client/pull/381#issuecomment-121478070","issue_url":"https://api.github.com/repos/thephpleague/oauth2-client/issues/381","id":121478070,"user":{"login":"shadowhand","id":38203,"avatar_url":"https://avatars.githubusercontent.com/u/38203?v=3","gravatar_id":"","url":"https://api.github.com/users/shadowhand","html_url":"https://github.com/shadowhand","followers_url":"https://api.github.com/users/shadowhand/followers","following_url":"https://api.github.com/users/shadowhand/following{/other_user}","gists_url":"https://api.github.com/users/shadowhand/gists{/gist_id}","starred_url":"https://api.github.com/users/shadowhand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shadowhand/subscriptions","organizations_url":"https://api.github.com/users/shadowhand/orgs","repos_url":"https://api.github.com/users/shadowhand/repos","events_url":"https://api.github.com/users/shadowhand/events{/privacy}","received_events_url":"https://api.github.com/users/shadowhand/received_events","type":"User","site_admin":false},"created_at":"2015-07-15T03:44:06Z","updated_at":"2015-07-15T03:44:06Z","body":"In my experience, if an API is using JSON outputs, they also expect JSON input as POST and PUT. As examples, most of the OAuth clients I've written (Square, Clover, Twitter, etc) all use JSON bodies."}}