{"provider_url":"https://hatena.blog","type":"rich","image_url":"https://gitlab.com/gitlab-org/gitlab-ce/raw/master/doc/web_hooks/ssl.png","description":"Hubot\u306f\u30c1\u30e3\u30c3\u30c8\u306e\u6295\u7a3f\u3092\u53d7\u3051\u53d6\u3063\u3066\u51e6\u7406\u3092\u5b9f\u884c\u3059\u308b\u306e\u306b\u4fbf\u5229\u3067\u3059\u304c\u3001\u5916\u90e8\u304b\u3089HTTP\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u53d7\u3051\u53d6\u3063\u3066\u51e6\u7406\u3092\u884c\u3046\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002 Hubot\u306b\u306fExpress\u304c\u7d44\u307f\u8fbc\u307e\u308c\u3066\u304a\u308a\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u306f8080\u30dd\u30fc\u30c8\u3092listen\u3057\u307e\u3059\u3002Hubot\u3067HTTP\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u51e6\u7406\u3059\u308b\u306b\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b robot.router \u3067\u30eb\u30fc\u30c6\u30a3\u30f3\u30b0\u5b9a\u7fa9\u3092\u66f8\u304d\u307e\u3059\u3002 module.exports = (robot) -> # /webhook\u306bPOST\u3055\u308c\u305f\u3089\u30ed\u30b0\u3092\u8868\u793a\u3059\u308b robot.router.post '/webhook', (req, res) -> console.info req.body res.\u2026","width":"100%","title":"Hubot\u3067WebHook\u306eHTTP\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u53d7\u3051\u53d6\u308b","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fint128.hatenablog.com%2Fentry%2F2015%2F11%2F14%2F162217\" title=\"Hubot\u3067WebHook\u306eHTTP\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u53d7\u3051\u53d6\u308b - GeekFactory\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","height":"190","version":"1.0","author_name":"int128","author_url":"https://blog.hatena.ne.jp/int128/","provider_name":"Hatena Blog","blog_url":"https://int128.hatenablog.com/","url":"https://int128.hatenablog.com/entry/2015/11/14/162217","blog_title":"GeekFactory","published":"2015-11-14 16:22:17","categories":["hubot","coffeescript"]}