{"action":"closed","number":935,"pull_request":{"url":"https://api.github.com/repos/github/hubot/pulls/935","id":34953085,"html_url":"https://github.com/github/hubot/pull/935","diff_url":"https://github.com/github/hubot/pull/935.diff","patch_url":"https://github.com/github/hubot/pull/935.patch","issue_url":"https://api.github.com/repos/github/hubot/issues/935","number":935,"state":"closed","locked":false,"title":"Update scripting docs for crafting post requests","user":{"login":"jcbantuelle","id":1465895,"avatar_url":"https://avatars.githubusercontent.com/u/1465895?v=3","gravatar_id":"","url":"https://api.github.com/users/jcbantuelle","html_url":"https://github.com/jcbantuelle","followers_url":"https://api.github.com/users/jcbantuelle/followers","following_url":"https://api.github.com/users/jcbantuelle/following{/other_user}","gists_url":"https://api.github.com/users/jcbantuelle/gists{/gist_id}","starred_url":"https://api.github.com/users/jcbantuelle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcbantuelle/subscriptions","organizations_url":"https://api.github.com/users/jcbantuelle/orgs","repos_url":"https://api.github.com/users/jcbantuelle/repos","events_url":"https://api.github.com/users/jcbantuelle/events{/privacy}","received_events_url":"https://api.github.com/users/jcbantuelle/received_events","type":"User","site_admin":false},"body":"When sending post data via JSON, not all servers will properly parse this by default. Explicitly providing the Content-Type header is more robust.","created_at":"2015-05-07T20:07:28Z","updated_at":"2015-05-14T19:16:18Z","closed_at":"2015-05-14T19:16:18Z","merged_at":"2015-05-14T19:16:18Z","merge_commit_sha":"3ee97567fa1f8b8c3d6b0058516204fc2b8950d2","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/github/hubot/pulls/935/commits","review_comments_url":"https://api.github.com/repos/github/hubot/pulls/935/comments","review_comment_url":"https://api.github.com/repos/github/hubot/pulls/comments{/number}","comments_url":"https://api.github.com/repos/github/hubot/issues/935/comments","statuses_url":"https://api.github.com/repos/github/hubot/statuses/2e1c49ed4c3723596522989d8e5e170fbf23be8e","head":{"label":"jcbantuelle:master","ref":"master","sha":"2e1c49ed4c3723596522989d8e5e170fbf23be8e","user":{"login":"jcbantuelle","id":1465895,"avatar_url":"https://avatars.githubusercontent.com/u/1465895?v=3","gravatar_id":"","url":"https://api.github.com/users/jcbantuelle","html_url":"https://github.com/jcbantuelle","followers_url":"https://api.github.com/users/jcbantuelle/followers","following_url":"https://api.github.com/users/jcbantuelle/following{/other_user}","gists_url":"https://api.github.com/users/jcbantuelle/gists{/gist_id}","starred_url":"https://api.github.com/users/jcbantuelle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcbantuelle/subscriptions","organizations_url":"https://api.github.com/users/jcbantuelle/orgs","repos_url":"https://api.github.com/users/jcbantuelle/repos","events_url":"https://api.github.com/users/jcbantuelle/events{/privacy}","received_events_url":"https://api.github.com/users/jcbantuelle/received_events","type":"User","site_admin":false},"repo":{"id":35114458,"name":"hubot","full_name":"jcbantuelle/hubot","owner":{"login":"jcbantuelle","id":1465895,"avatar_url":"https://avatars.githubusercontent.com/u/1465895?v=3","gravatar_id":"","url":"https://api.github.com/users/jcbantuelle","html_url":"https://github.com/jcbantuelle","followers_url":"https://api.github.com/users/jcbantuelle/followers","following_url":"https://api.github.com/users/jcbantuelle/following{/other_user}","gists_url":"https://api.github.com/users/jcbantuelle/gists{/gist_id}","starred_url":"https://api.github.com/users/jcbantuelle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcbantuelle/subscriptions","organizations_url":"https://api.github.com/users/jcbantuelle/orgs","repos_url":"https://api.github.com/users/jcbantuelle/repos","events_url":"https://api.github.com/users/jcbantuelle/events{/privacy}","received_events_url":"https://api.github.com/users/jcbantuelle/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jcbantuelle/hubot","description":"A customizable life embetterment robot.","fork":true,"url":"https://api.github.com/repos/jcbantuelle/hubot","forks_url":"https://api.github.com/repos/jcbantuelle/hubot/forks","keys_url":"https://api.github.com/repos/jcbantuelle/hubot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jcbantuelle/hubot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jcbantuelle/hubot/teams","hooks_url":"https://api.github.com/repos/jcbantuelle/hubot/hooks","issue_events_url":"https://api.github.com/repos/jcbantuelle/hubot/issues/events{/number}","events_url":"https://api.github.com/repos/jcbantuelle/hubot/events","assignees_url":"https://api.github.com/repos/jcbantuelle/hubot/assignees{/user}","branches_url":"https://api.github.com/repos/jcbantuelle/hubot/branches{/branch}","tags_url":"https://api.github.com/repos/jcbantuelle/hubot/tags","blobs_url":"https://api.github.com/repos/jcbantuelle/hubot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jcbantuelle/hubot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jcbantuelle/hubot/git/refs{/sha}","trees_url":"https://api.github.com/repos/jcbantuelle/hubot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jcbantuelle/hubot/statuses/{sha}","languages_url":"https://api.github.com/repos/jcbantuelle/hubot/languages","stargazers_url":"https://api.github.com/repos/jcbantuelle/hubot/stargazers","contributors_url":"https://api.github.com/repos/jcbantuelle/hubot/contributors","subscribers_url":"https://api.github.com/repos/jcbantuelle/hubot/subscribers","subscription_url":"https://api.github.com/repos/jcbantuelle/hubot/subscription","commits_url":"https://api.github.com/repos/jcbantuelle/hubot/commits{/sha}","git_commits_url":"https://api.github.com/repos/jcbantuelle/hubot/git/commits{/sha}","comments_url":"https://api.github.com/repos/jcbantuelle/hubot/comments{/number}","issue_comment_url":"https://api.github.com/repos/jcbantuelle/hubot/issues/comments{/number}","contents_url":"https://api.github.com/repos/jcbantuelle/hubot/contents/{+path}","compare_url":"https://api.github.com/repos/jcbantuelle/hubot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jcbantuelle/hubot/merges","archive_url":"https://api.github.com/repos/jcbantuelle/hubot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jcbantuelle/hubot/downloads","issues_url":"https://api.github.com/repos/jcbantuelle/hubot/issues{/number}","pulls_url":"https://api.github.com/repos/jcbantuelle/hubot/pulls{/number}","milestones_url":"https://api.github.com/repos/jcbantuelle/hubot/milestones{/number}","notifications_url":"https://api.github.com/repos/jcbantuelle/hubot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jcbantuelle/hubot/labels{/name}","releases_url":"https://api.github.com/repos/jcbantuelle/hubot/releases{/id}","created_at":"2015-05-05T17:39:50Z","updated_at":"2015-05-07T20:03:06Z","pushed_at":"2015-05-07T20:03:04Z","git_url":"git://github.com/jcbantuelle/hubot.git","ssh_url":"git@github.com:jcbantuelle/hubot.git","clone_url":"https://github.com/jcbantuelle/hubot.git","svn_url":"https://github.com/jcbantuelle/hubot","homepage":"http://hubot.github.com","size":1831,"stargazers_count":0,"watchers_count":0,"language":"CoffeeScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"github:master","ref":"master","sha":"1501a694b10cfb458b034d33478cd5be4532cd65","user":{"login":"github","id":9919,"avatar_url":"https://avatars.githubusercontent.com/u/9919?v=3","gravatar_id":"","url":"https://api.github.com/users/github","html_url":"https://github.com/github","followers_url":"https://api.github.com/users/github/followers","following_url":"https://api.github.com/users/github/following{/other_user}","gists_url":"https://api.github.com/users/github/gists{/gist_id}","starred_url":"https://api.github.com/users/github/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github/subscriptions","organizations_url":"https://api.github.com/users/github/orgs","repos_url":"https://api.github.com/users/github/repos","events_url":"https://api.github.com/users/github/events{/privacy}","received_events_url":"https://api.github.com/users/github/received_events","type":"Organization","site_admin":false},"repo":{"id":2278524,"name":"hubot","full_name":"github/hubot","owner":{"login":"github","id":9919,"avatar_url":"https://avatars.githubusercontent.com/u/9919?v=3","gravatar_id":"","url":"https://api.github.com/users/github","html_url":"https://github.com/github","followers_url":"https://api.github.com/users/github/followers","following_url":"https://api.github.com/users/github/following{/other_user}","gists_url":"https://api.github.com/users/github/gists{/gist_id}","starred_url":"https://api.github.com/users/github/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github/subscriptions","organizations_url":"https://api.github.com/users/github/orgs","repos_url":"https://api.github.com/users/github/repos","events_url":"https://api.github.com/users/github/events{/privacy}","received_events_url":"https://api.github.com/users/github/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/github/hubot","description":"A customizable life embetterment robot.","fork":false,"url":"https://api.github.com/repos/github/hubot","forks_url":"https://api.github.com/repos/github/hubot/forks","keys_url":"https://api.github.com/repos/github/hubot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github/hubot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github/hubot/teams","hooks_url":"https://api.github.com/repos/github/hubot/hooks","issue_events_url":"https://api.github.com/repos/github/hubot/issues/events{/number}","events_url":"https://api.github.com/repos/github/hubot/events","assignees_url":"https://api.github.com/repos/github/hubot/assignees{/user}","branches_url":"https://api.github.com/repos/github/hubot/branches{/branch}","tags_url":"https://api.github.com/repos/github/hubot/tags","blobs_url":"https://api.github.com/repos/github/hubot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github/hubot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github/hubot/git/refs{/sha}","trees_url":"https://api.github.com/repos/github/hubot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github/hubot/statuses/{sha}","languages_url":"https://api.github.com/repos/github/hubot/languages","stargazers_url":"https://api.github.com/repos/github/hubot/stargazers","contributors_url":"https://api.github.com/repos/github/hubot/contributors","subscribers_url":"https://api.github.com/repos/github/hubot/subscribers","subscription_url":"https://api.github.com/repos/github/hubot/subscription","commits_url":"https://api.github.com/repos/github/hubot/commits{/sha}","git_commits_url":"https://api.github.com/repos/github/hubot/git/commits{/sha}","comments_url":"https://api.github.com/repos/github/hubot/comments{/number}","issue_comment_url":"https://api.github.com/repos/github/hubot/issues/comments{/number}","contents_url":"https://api.github.com/repos/github/hubot/contents/{+path}","compare_url":"https://api.github.com/repos/github/hubot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github/hubot/merges","archive_url":"https://api.github.com/repos/github/hubot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github/hubot/downloads","issues_url":"https://api.github.com/repos/github/hubot/issues{/number}","pulls_url":"https://api.github.com/repos/github/hubot/pulls{/number}","milestones_url":"https://api.github.com/repos/github/hubot/milestones{/number}","notifications_url":"https://api.github.com/repos/github/hubot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github/hubot/labels{/name}","releases_url":"https://api.github.com/repos/github/hubot/releases{/id}","created_at":"2011-08-27T08:30:59Z","updated_at":"2015-05-14T11:22:54Z","pushed_at":"2015-05-14T19:16:18Z","git_url":"git://github.com/github/hubot.git","ssh_url":"git@github.com:github/hubot.git","clone_url":"https://github.com/github/hubot.git","svn_url":"https://github.com/github/hubot","homepage":"http://hubot.github.com","size":6037,"stargazers_count":7930,"watchers_count":7930,"language":"CoffeeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1712,"mirror_url":null,"open_issues_count":94,"forks":1712,"open_issues":94,"watchers":7930,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/github/hubot/pulls/935"},"html":{"href":"https://github.com/github/hubot/pull/935"},"issue":{"href":"https://api.github.com/repos/github/hubot/issues/935"},"comments":{"href":"https://api.github.com/repos/github/hubot/issues/935/comments"},"review_comments":{"href":"https://api.github.com/repos/github/hubot/pulls/935/comments"},"review_comment":{"href":"https://api.github.com/repos/github/hubot/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/github/hubot/pulls/935/commits"},"statuses":{"href":"https://api.github.com/repos/github/hubot/statuses/2e1c49ed4c3723596522989d8e5e170fbf23be8e"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"technicalpickles","id":159,"avatar_url":"https://avatars.githubusercontent.com/u/159?v=3","gravatar_id":"","url":"https://api.github.com/users/technicalpickles","html_url":"https://github.com/technicalpickles","followers_url":"https://api.github.com/users/technicalpickles/followers","following_url":"https://api.github.com/users/technicalpickles/following{/other_user}","gists_url":"https://api.github.com/users/technicalpickles/gists{/gist_id}","starred_url":"https://api.github.com/users/technicalpickles/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/technicalpickles/subscriptions","organizations_url":"https://api.github.com/users/technicalpickles/orgs","repos_url":"https://api.github.com/users/technicalpickles/repos","events_url":"https://api.github.com/users/technicalpickles/events{/privacy}","received_events_url":"https://api.github.com/users/technicalpickles/received_events","type":"User","site_admin":true},"comments":3,"review_comments":0,"commits":1,"additions":1,"deletions":0,"changed_files":1}}