I've just set up some webhooks for some basic call backs about app installs.
I managed to set up and verify the webhooks OK by receiving the code etc - as covered in the docs. And I can POST sample data to the webhook directly through a REST service like POSTman for testing. However when performing actions on the device I'm seeing reports from my server showing a 404.
It looks like our base URL is being prepended to the webhook (duplicated) and I can't figure out why.
For example, looking at my server logs, the failed webhook from the clover device looks like this:
[25/Nov/2016:18:29:45 +0000] "POST https://mydomain.com/api/clover/cloverWebhook HTTP/1.1" 404 525
But a successful webhook from a REST client or from Clover's webhook verification tool looks like this
[25/Nov/2016:18:32:59 +0000] "POST /api/clover/cloverWebhook HTTP/1.1" 200 40
As you can see in the 404 it would look like the endpoint being hit by the actual device is https://mydomain.com/https://mydomain.com/api/clover/cloverWebhook
Do you have any idea what I could be doing wrong?
Thanks!