下記のようにhubotにリクエストを送ると「hello」と返すサンプルがありました。
robot.router.get '/hi', (req, res) -> robot.send 'hello\n' res.end 'hello\n'
【確認したいこと2点】
・res.send と robot.sendの違いは何でしょうか?
・res.endとは何でしょうか?
`res.end` ⇢ `res.send` でしょうか?
いえ、res.endになります。ここらへんを参考にしています。https://ota42y.com/blog/2014/08/29/hubot-post-server/
なるほど。理解しました