{"action":"created","issue":{"url":"https://api.github.com/repos/nikic/FastRoute/issues/33","labels_url":"https://api.github.com/repos/nikic/FastRoute/issues/33/labels{/name}","comments_url":"https://api.github.com/repos/nikic/FastRoute/issues/33/comments","events_url":"https://api.github.com/repos/nikic/FastRoute/issues/33/events","html_url":"https://github.com/nikic/FastRoute/pull/33","id":55784495,"number":33,"title":"Add the convenience to create the same route for two or more http methods","user":{"login":"byjg","id":981924,"avatar_url":"https://avatars.githubusercontent.com/u/981924?v=3","gravatar_id":"","url":"https://api.github.com/users/byjg","html_url":"https://github.com/byjg","followers_url":"https://api.github.com/users/byjg/followers","following_url":"https://api.github.com/users/byjg/following{/other_user}","gists_url":"https://api.github.com/users/byjg/gists{/gist_id}","starred_url":"https://api.github.com/users/byjg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/byjg/subscriptions","organizations_url":"https://api.github.com/users/byjg/orgs","repos_url":"https://api.github.com/users/byjg/repos","events_url":"https://api.github.com/users/byjg/events{/privacy}","received_events_url":"https://api.github.com/users/byjg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":15,"created_at":"2015-01-28T17:05:30Z","updated_at":"2015-02-02T19:16:48Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/nikic/FastRoute/pulls/33","html_url":"https://github.com/nikic/FastRoute/pull/33","diff_url":"https://github.com/nikic/FastRoute/pull/33.diff","patch_url":"https://github.com/nikic/FastRoute/pull/33.patch"},"body":"Add the convenience to create the same route for two or more http methods\r\n\r\nFor example:\r\n\r\nYou can add a route passing a string\r\n```php\r\n$r->addRoute('POST', '/xml/{name}', 'xml');\r\n$r->addRoute('GET', '/xml/{name}', 'xml');\r\n```\r\n\r\nOr passing an array of methods (the result in this case will be the same):\r\n```\r\n$r->addRoute(array('GET', 'POST'), '/xml/{name}', 'xml');\r\n```\r\n\r\nNote: You can continue to pass the strings \"POST\", \"GET\", \"DELETE\" and \"PUT\". \r\n"},"comment":{"url":"https://api.github.com/repos/nikic/FastRoute/issues/comments/72518569","html_url":"https://github.com/nikic/FastRoute/pull/33#issuecomment-72518569","issue_url":"https://api.github.com/repos/nikic/FastRoute/issues/33","id":72518569,"user":{"login":"Danack","id":1505719,"avatar_url":"https://avatars.githubusercontent.com/u/1505719?v=3","gravatar_id":"","url":"https://api.github.com/users/Danack","html_url":"https://github.com/Danack","followers_url":"https://api.github.com/users/Danack/followers","following_url":"https://api.github.com/users/Danack/following{/other_user}","gists_url":"https://api.github.com/users/Danack/gists{/gist_id}","starred_url":"https://api.github.com/users/Danack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Danack/subscriptions","organizations_url":"https://api.github.com/users/Danack/orgs","repos_url":"https://api.github.com/users/Danack/repos","events_url":"https://api.github.com/users/Danack/events{/privacy}","received_events_url":"https://api.github.com/users/Danack/received_events","type":"User","site_admin":false},"created_at":"2015-02-02T19:16:48Z","updated_at":"2015-02-02T19:16:48Z","body":"> Why is there a total douchebag involved with every OSS project these days is beyond me.\r\n\r\n![The only consistent feature of all of your dissatisfying relationships is you.](http://i.stack.imgur.com/UB45n.jpg)\r\n\r\nTaken from http://www.despair.com/dysfunction.html "}}