{"action":"created","issue":{"url":"https://api.github.com/repos/github/hubot/issues/925","labels_url":"https://api.github.com/repos/github/hubot/issues/925/labels{/name}","comments_url":"https://api.github.com/repos/github/hubot/issues/925/comments","events_url":"https://api.github.com/repos/github/hubot/issues/925/events","html_url":"https://github.com/github/hubot/issues/925","id":70375725,"number":925,"title":"Triggering Hubot responds using HTTP","user":{"login":"tudorlesan","id":8058958,"avatar_url":"https://avatars.githubusercontent.com/u/8058958?v=3","gravatar_id":"","url":"https://api.github.com/users/tudorlesan","html_url":"https://github.com/tudorlesan","followers_url":"https://api.github.com/users/tudorlesan/followers","following_url":"https://api.github.com/users/tudorlesan/following{/other_user}","gists_url":"https://api.github.com/users/tudorlesan/gists{/gist_id}","starred_url":"https://api.github.com/users/tudorlesan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tudorlesan/subscriptions","organizations_url":"https://api.github.com/users/tudorlesan/orgs","repos_url":"https://api.github.com/users/tudorlesan/repos","events_url":"https://api.github.com/users/tudorlesan/events{/privacy}","received_events_url":"https://api.github.com/users/tudorlesan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-23T10:43:21Z","updated_at":"2015-04-24T07:32:02Z","closed_at":null,"body":"Let's say I have a few functionalities to my hubot. What I'm trying to do is send the message to hubot through a POST.\r\n\r\nI have my HTTP listener, which gets my message and sends an event to my main script, I catch the event, have the message. Now I would need to manually trigger any of my robot.respond's based on the message I sent. Is there any straightforward way of doing this? Thanks :)"},"comment":{"url":"https://api.github.com/repos/github/hubot/issues/comments/95834629","html_url":"https://github.com/github/hubot/issues/925#issuecomment-95834629","issue_url":"https://api.github.com/repos/github/hubot/issues/925","id":95834629,"user":{"login":"tudorlesan","id":8058958,"avatar_url":"https://avatars.githubusercontent.com/u/8058958?v=3","gravatar_id":"","url":"https://api.github.com/users/tudorlesan","html_url":"https://github.com/tudorlesan","followers_url":"https://api.github.com/users/tudorlesan/followers","following_url":"https://api.github.com/users/tudorlesan/following{/other_user}","gists_url":"https://api.github.com/users/tudorlesan/gists{/gist_id}","starred_url":"https://api.github.com/users/tudorlesan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tudorlesan/subscriptions","organizations_url":"https://api.github.com/users/tudorlesan/orgs","repos_url":"https://api.github.com/users/tudorlesan/repos","events_url":"https://api.github.com/users/tudorlesan/events{/privacy}","received_events_url":"https://api.github.com/users/tudorlesan/received_events","type":"User","site_admin":false},"created_at":"2015-04-24T07:32:02Z","updated_at":"2015-04-24T07:32:02Z","body":"Well I'm not entirely sure I get what you're saying ( don't have too much experience with hubot yet). The robot should react both to chat messages and http messages. What you're saying is to copy the robot.responds in the event handler(the one that gets the http message) as well?"}}