{"action":"created","issue":{"url":"https://api.github.com/repos/JoeDog/siege/issues/96","repository_url":"https://api.github.com/repos/JoeDog/siege","labels_url":"https://api.github.com/repos/JoeDog/siege/issues/96/labels{/name}","comments_url":"https://api.github.com/repos/JoeDog/siege/issues/96/comments","events_url":"https://api.github.com/repos/JoeDog/siege/issues/96/events","html_url":"https://github.com/JoeDog/siege/issues/96","id":204488844,"number":96,"title":"Content-Type","user":{"login":"lalitkumarj","id":1417496,"avatar_url":"https://avatars.githubusercontent.com/u/1417496?v=3","gravatar_id":"","url":"https://api.github.com/users/lalitkumarj","html_url":"https://github.com/lalitkumarj","followers_url":"https://api.github.com/users/lalitkumarj/followers","following_url":"https://api.github.com/users/lalitkumarj/following{/other_user}","gists_url":"https://api.github.com/users/lalitkumarj/gists{/gist_id}","starred_url":"https://api.github.com/users/lalitkumarj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lalitkumarj/subscriptions","organizations_url":"https://api.github.com/users/lalitkumarj/orgs","repos_url":"https://api.github.com/users/lalitkumarj/repos","events_url":"https://api.github.com/users/lalitkumarj/events{/privacy}","received_events_url":"https://api.github.com/users/lalitkumarj/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-02-01T03:26:10Z","updated_at":"2017-02-01T14:37:31Z","closed_at":null,"body":"Hi\r\n\r\nI am using Siege to do some json post requests and running into an issue with content-type. I set the header with -H 'Content-Type:application/json', however on the server, the header 'Content-Type:application/x-www-form-urlencoded' is received. I am not sure what could cause this behavior. Thanks."},"comment":{"url":"https://api.github.com/repos/JoeDog/siege/issues/comments/276672980","html_url":"https://github.com/JoeDog/siege/issues/96#issuecomment-276672980","issue_url":"https://api.github.com/repos/JoeDog/siege/issues/96","id":276672980,"user":{"login":"lalitkumarj","id":1417496,"avatar_url":"https://avatars.githubusercontent.com/u/1417496?v=3","gravatar_id":"","url":"https://api.github.com/users/lalitkumarj","html_url":"https://github.com/lalitkumarj","followers_url":"https://api.github.com/users/lalitkumarj/followers","following_url":"https://api.github.com/users/lalitkumarj/following{/other_user}","gists_url":"https://api.github.com/users/lalitkumarj/gists{/gist_id}","starred_url":"https://api.github.com/users/lalitkumarj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lalitkumarj/subscriptions","organizations_url":"https://api.github.com/users/lalitkumarj/orgs","repos_url":"https://api.github.com/users/lalitkumarj/repos","events_url":"https://api.github.com/users/lalitkumarj/events{/privacy}","received_events_url":"https://api.github.com/users/lalitkumarj/received_events","type":"User","site_admin":false},"created_at":"2017-02-01T14:37:30Z","updated_at":"2017-02-01T14:37:30Z","body":"Hi\n\nI didn't realize that there was a --content-type that I could set instead!\nIt did the trick. Moral: Always read the man page first...\n\nOn Wed, Feb 1, 2017 at 9:05 AM, Jeff Fulmer <notifications@github.com>\nwrote:\n\n> Could you give me an example of a request your making when you set that\n> header?\n>\n>\n> On Tue, Jan 31, 2017 at 10:26 PM, Lalit Jain <notifications@github.com>\n> wrote:\n>\n> > Hi\n> >\n> > I am using Siege to do some json post requests and running into an issue\n> > with content-type. I set the header with -H 'Content-Type:application/\n> json',\n> > however on the server, the header 'Content-Type:application/x-\n> www-form-urlencoded'\n> > is received. I am not sure what could cause this behavior. Thanks.\n> >\n> > —\n> > You are receiving this because you are subscribed to this thread.\n> > Reply to this email directly, view it on GitHub\n> > <https://github.com/JoeDog/siege/issues/96>, or mute the thread\n> > <https://github.com/notifications/unsubscribe-\n> auth/AFMT5km7_h3jQRDX4s1N--sf3SKCD9wZks5rX_tSgaJpZM4LzdBG>\n> > .\n> >\n>\n> —\n> You are receiving this because you authored the thread.\n> Reply to this email directly, view it on GitHub\n> <https://github.com/JoeDog/siege/issues/96#issuecomment-276664977>, or mute\n> the thread\n> <https://github.com/notifications/unsubscribe-auth/ABWhGIuVTOoGr92SzbUxWJvc6RieKfwOks5rYJEygaJpZM4LzdBG>\n> .\n>\n"}}
{"actor":{"display_login":"lalitkumarj"}}