stupid I know but I just heard about webhooks today for the first time.
Basically I am investigating how to implement a chatbot using api.ai (a text/nlp processing service). Basically api.ai can forward translated requests to a registered 'webhook' api. In my case I would be hoping to implement a webhook using a grails controller and service etc.
But what exactly is the difference in a rest/webhook controller endpoint?