I am looking into creating a module which would listen to incoming data from another custom service.
For example, the said external service would send data to domain.com/webhook (which would be magento 2 installation) and module would pick up the data and process it how it sees fit
What would be an ideal way to create /webhook URI in Magento 2 installation so upon the call would read incoming POST data and process it based on certain logic
Thanks in advance