Reputation: 961
I use a platform that allows me to use webhooks. Webhooks will be triggered by an event. So for example, we have the webhook productUpdate
. This hook will send data to my URL: mystore.com/url-for-webhook
, and the data will be sent by JSON. So alright, pretty easy to catch, but because I work locally, it's a bit harder. I need to make that webhook think that it's posting to an online website, but then forward it to my local machine. As such, instead of mystore.com/url-for-webhook
, it should call local/url-for-webhook
Does anybody have a nice solution to make this local available?
Upvotes: 0
Views: 929