{"action":"closed","number":39,"pull_request":{"url":"https://api.github.com/repos/mmalecki/hock/pulls/39","id":237287495,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM3Mjg3NDk1","html_url":"https://github.com/mmalecki/hock/pull/39","diff_url":"https://github.com/mmalecki/hock/pull/39.diff","patch_url":"https://github.com/mmalecki/hock/pull/39.patch","issue_url":"https://api.github.com/repos/mmalecki/hock/issues/39","number":39,"state":"closed","locked":false,"title":"Add support for OPTIONS HTTP method.","user":{"login":"alexkiro","id":1538458,"node_id":"MDQ6VXNlcjE1Mzg0NTg=","avatar_url":"https://avatars2.githubusercontent.com/u/1538458?v=4","gravatar_id":"","url":"https://api.github.com/users/alexkiro","html_url":"https://github.com/alexkiro","followers_url":"https://api.github.com/users/alexkiro/followers","following_url":"https://api.github.com/users/alexkiro/following{/other_user}","gists_url":"https://api.github.com/users/alexkiro/gists{/gist_id}","starred_url":"https://api.github.com/users/alexkiro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexkiro/subscriptions","organizations_url":"https://api.github.com/users/alexkiro/orgs","repos_url":"https://api.github.com/users/alexkiro/repos","events_url":"https://api.github.com/users/alexkiro/events{/privacy}","received_events_url":"https://api.github.com/users/alexkiro/received_events","type":"User","site_admin":false},"body":"This is useful for mocking preflighted requests in CORS, as browsers will send an OPTIONS request before doing an XHR.","created_at":"2018-12-10T11:33:11Z","updated_at":"2018-12-11T16:00:48Z","closed_at":"2018-12-11T16:00:48Z","merged_at":"2018-12-11T16:00:48Z","merge_commit_sha":"de96c9c17f89f9e095ac929b8317dc136be986d4","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/mmalecki/hock/pulls/39/commits","review_comments_url":"https://api.github.com/repos/mmalecki/hock/pulls/39/comments","review_comment_url":"https://api.github.com/repos/mmalecki/hock/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mmalecki/hock/issues/39/comments","statuses_url":"https://api.github.com/repos/mmalecki/hock/statuses/45a69ebcd3fabe179dad751c36aa64214731fc57","head":{"label":"alexkiro:master","ref":"master","sha":"45a69ebcd3fabe179dad751c36aa64214731fc57","user":{"login":"alexkiro","id":1538458,"node_id":"MDQ6VXNlcjE1Mzg0NTg=","avatar_url":"https://avatars2.githubusercontent.com/u/1538458?v=4","gravatar_id":"","url":"https://api.github.com/users/alexkiro","html_url":"https://github.com/alexkiro","followers_url":"https://api.github.com/users/alexkiro/followers","following_url":"https://api.github.com/users/alexkiro/following{/other_user}","gists_url":"https://api.github.com/users/alexkiro/gists{/gist_id}","starred_url":"https://api.github.com/users/alexkiro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexkiro/subscriptions","organizations_url":"https://api.github.com/users/alexkiro/orgs","repos_url":"https://api.github.com/users/alexkiro/repos","events_url":"https://api.github.com/users/alexkiro/events{/privacy}","received_events_url":"https://api.github.com/users/alexkiro/received_events","type":"User","site_admin":false},"repo":{"id":161164099,"node_id":"MDEwOlJlcG9zaXRvcnkxNjExNjQwOTk=","name":"hock","full_name":"alexkiro/hock","private":false,"owner":{"login":"alexkiro","id":1538458,"node_id":"MDQ6VXNlcjE1Mzg0NTg=","avatar_url":"https://avatars2.githubusercontent.com/u/1538458?v=4","gravatar_id":"","url":"https://api.github.com/users/alexkiro","html_url":"https://github.com/alexkiro","followers_url":"https://api.github.com/users/alexkiro/followers","following_url":"https://api.github.com/users/alexkiro/following{/other_user}","gists_url":"https://api.github.com/users/alexkiro/gists{/gist_id}","starred_url":"https://api.github.com/users/alexkiro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexkiro/subscriptions","organizations_url":"https://api.github.com/users/alexkiro/orgs","repos_url":"https://api.github.com/users/alexkiro/repos","events_url":"https://api.github.com/users/alexkiro/events{/privacy}","received_events_url":"https://api.github.com/users/alexkiro/received_events","type":"User","site_admin":false},"html_url":"https://github.com/alexkiro/hock","description":"An HTTP mocking server based on Nock.","fork":true,"url":"https://api.github.com/repos/alexkiro/hock","forks_url":"https://api.github.com/repos/alexkiro/hock/forks","keys_url":"https://api.github.com/repos/alexkiro/hock/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alexkiro/hock/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alexkiro/hock/teams","hooks_url":"https://api.github.com/repos/alexkiro/hock/hooks","issue_events_url":"https://api.github.com/repos/alexkiro/hock/issues/events{/number}","events_url":"https://api.github.com/repos/alexkiro/hock/events","assignees_url":"https://api.github.com/repos/alexkiro/hock/assignees{/user}","branches_url":"https://api.github.com/repos/alexkiro/hock/branches{/branch}","tags_url":"https://api.github.com/repos/alexkiro/hock/tags","blobs_url":"https://api.github.com/repos/alexkiro/hock/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alexkiro/hock/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alexkiro/hock/git/refs{/sha}","trees_url":"https://api.github.com/repos/alexkiro/hock/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alexkiro/hock/statuses/{sha}","languages_url":"https://api.github.com/repos/alexkiro/hock/languages","stargazers_url":"https://api.github.com/repos/alexkiro/hock/stargazers","contributors_url":"https://api.github.com/repos/alexkiro/hock/contributors","subscribers_url":"https://api.github.com/repos/alexkiro/hock/subscribers","subscription_url":"https://api.github.com/repos/alexkiro/hock/subscription","commits_url":"https://api.github.com/repos/alexkiro/hock/commits{/sha}","git_commits_url":"https://api.github.com/repos/alexkiro/hock/git/commits{/sha}","comments_url":"https://api.github.com/repos/alexkiro/hock/comments{/number}","issue_comment_url":"https://api.github.com/repos/alexkiro/hock/issues/comments{/number}","contents_url":"https://api.github.com/repos/alexkiro/hock/contents/{+path}","compare_url":"https://api.github.com/repos/alexkiro/hock/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alexkiro/hock/merges","archive_url":"https://api.github.com/repos/alexkiro/hock/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alexkiro/hock/downloads","issues_url":"https://api.github.com/repos/alexkiro/hock/issues{/number}","pulls_url":"https://api.github.com/repos/alexkiro/hock/pulls{/number}","milestones_url":"https://api.github.com/repos/alexkiro/hock/milestones{/number}","notifications_url":"https://api.github.com/repos/alexkiro/hock/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alexkiro/hock/labels{/name}","releases_url":"https://api.github.com/repos/alexkiro/hock/releases{/id}","deployments_url":"https://api.github.com/repos/alexkiro/hock/deployments","created_at":"2018-12-10T11:26:10Z","updated_at":"2018-12-10T11:29:03Z","pushed_at":"2018-12-10T11:29:02Z","git_url":"git://github.com/alexkiro/hock.git","ssh_url":"git@github.com:alexkiro/hock.git","clone_url":"https://github.com/alexkiro/hock.git","svn_url":"https://github.com/alexkiro/hock","homepage":"","size":83,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"mmalecki:master","ref":"master","sha":"0e8f4371248f81a5172d35aba8a1b282a650c85f","user":{"login":"mmalecki","id":692459,"node_id":"MDQ6VXNlcjY5MjQ1OQ==","avatar_url":"https://avatars3.githubusercontent.com/u/692459?v=4","gravatar_id":"","url":"https://api.github.com/users/mmalecki","html_url":"https://github.com/mmalecki","followers_url":"https://api.github.com/users/mmalecki/followers","following_url":"https://api.github.com/users/mmalecki/following{/other_user}","gists_url":"https://api.github.com/users/mmalecki/gists{/gist_id}","starred_url":"https://api.github.com/users/mmalecki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmalecki/subscriptions","organizations_url":"https://api.github.com/users/mmalecki/orgs","repos_url":"https://api.github.com/users/mmalecki/repos","events_url":"https://api.github.com/users/mmalecki/events{/privacy}","received_events_url":"https://api.github.com/users/mmalecki/received_events","type":"User","site_admin":false},"repo":{"id":9750539,"node_id":"MDEwOlJlcG9zaXRvcnk5NzUwNTM5","name":"hock","full_name":"mmalecki/hock","private":false,"owner":{"login":"mmalecki","id":692459,"node_id":"MDQ6VXNlcjY5MjQ1OQ==","avatar_url":"https://avatars3.githubusercontent.com/u/692459?v=4","gravatar_id":"","url":"https://api.github.com/users/mmalecki","html_url":"https://github.com/mmalecki","followers_url":"https://api.github.com/users/mmalecki/followers","following_url":"https://api.github.com/users/mmalecki/following{/other_user}","gists_url":"https://api.github.com/users/mmalecki/gists{/gist_id}","starred_url":"https://api.github.com/users/mmalecki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmalecki/subscriptions","organizations_url":"https://api.github.com/users/mmalecki/orgs","repos_url":"https://api.github.com/users/mmalecki/repos","events_url":"https://api.github.com/users/mmalecki/events{/privacy}","received_events_url":"https://api.github.com/users/mmalecki/received_events","type":"User","site_admin":false},"html_url":"https://github.com/mmalecki/hock","description":"An HTTP mocking server based on Nock.","fork":false,"url":"https://api.github.com/repos/mmalecki/hock","forks_url":"https://api.github.com/repos/mmalecki/hock/forks","keys_url":"https://api.github.com/repos/mmalecki/hock/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mmalecki/hock/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mmalecki/hock/teams","hooks_url":"https://api.github.com/repos/mmalecki/hock/hooks","issue_events_url":"https://api.github.com/repos/mmalecki/hock/issues/events{/number}","events_url":"https://api.github.com/repos/mmalecki/hock/events","assignees_url":"https://api.github.com/repos/mmalecki/hock/assignees{/user}","branches_url":"https://api.github.com/repos/mmalecki/hock/branches{/branch}","tags_url":"https://api.github.com/repos/mmalecki/hock/tags","blobs_url":"https://api.github.com/repos/mmalecki/hock/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mmalecki/hock/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mmalecki/hock/git/refs{/sha}","trees_url":"https://api.github.com/repos/mmalecki/hock/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mmalecki/hock/statuses/{sha}","languages_url":"https://api.github.com/repos/mmalecki/hock/languages","stargazers_url":"https://api.github.com/repos/mmalecki/hock/stargazers","contributors_url":"https://api.github.com/repos/mmalecki/hock/contributors","subscribers_url":"https://api.github.com/repos/mmalecki/hock/subscribers","subscription_url":"https://api.github.com/repos/mmalecki/hock/subscription","commits_url":"https://api.github.com/repos/mmalecki/hock/commits{/sha}","git_commits_url":"https://api.github.com/repos/mmalecki/hock/git/commits{/sha}","comments_url":"https://api.github.com/repos/mmalecki/hock/comments{/number}","issue_comment_url":"https://api.github.com/repos/mmalecki/hock/issues/comments{/number}","contents_url":"https://api.github.com/repos/mmalecki/hock/contents/{+path}","compare_url":"https://api.github.com/repos/mmalecki/hock/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mmalecki/hock/merges","archive_url":"https://api.github.com/repos/mmalecki/hock/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mmalecki/hock/downloads","issues_url":"https://api.github.com/repos/mmalecki/hock/issues{/number}","pulls_url":"https://api.github.com/repos/mmalecki/hock/pulls{/number}","milestones_url":"https://api.github.com/repos/mmalecki/hock/milestones{/number}","notifications_url":"https://api.github.com/repos/mmalecki/hock/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mmalecki/hock/labels{/name}","releases_url":"https://api.github.com/repos/mmalecki/hock/releases{/id}","deployments_url":"https://api.github.com/repos/mmalecki/hock/deployments","created_at":"2013-04-29T14:57:45Z","updated_at":"2018-11-12T15:54:31Z","pushed_at":"2018-12-11T16:00:48Z","git_url":"git://github.com/mmalecki/hock.git","ssh_url":"git@github.com:mmalecki/hock.git","clone_url":"https://github.com/mmalecki/hock.git","svn_url":"https://github.com/mmalecki/hock","homepage":"","size":84,"stargazers_count":78,"watchers_count":78,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":18,"mirror_url":null,"archived":false,"open_issues_count":7,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":18,"open_issues":7,"watchers":78,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mmalecki/hock/pulls/39"},"html":{"href":"https://github.com/mmalecki/hock/pull/39"},"issue":{"href":"https://api.github.com/repos/mmalecki/hock/issues/39"},"comments":{"href":"https://api.github.com/repos/mmalecki/hock/issues/39/comments"},"review_comments":{"href":"https://api.github.com/repos/mmalecki/hock/pulls/39/comments"},"review_comment":{"href":"https://api.github.com/repos/mmalecki/hock/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mmalecki/hock/pulls/39/commits"},"statuses":{"href":"https://api.github.com/repos/mmalecki/hock/statuses/45a69ebcd3fabe179dad751c36aa64214731fc57"}},"author_association":"NONE","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"mmalecki","id":692459,"node_id":"MDQ6VXNlcjY5MjQ1OQ==","avatar_url":"https://avatars3.githubusercontent.com/u/692459?v=4","gravatar_id":"","url":"https://api.github.com/users/mmalecki","html_url":"https://github.com/mmalecki","followers_url":"https://api.github.com/users/mmalecki/followers","following_url":"https://api.github.com/users/mmalecki/following{/other_user}","gists_url":"https://api.github.com/users/mmalecki/gists{/gist_id}","starred_url":"https://api.github.com/users/mmalecki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmalecki/subscriptions","organizations_url":"https://api.github.com/users/mmalecki/orgs","repos_url":"https://api.github.com/users/mmalecki/repos","events_url":"https://api.github.com/users/mmalecki/events{/privacy}","received_events_url":"https://api.github.com/users/mmalecki/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"maintainer_can_modify":false,"commits":2,"additions":18,"deletions":0,"changed_files":2}}
{"actor":{"display_login":"mmalecki"}}