Some testing with Axios
Recently I’ve been working on integrating with a subscription/payment gateway.
(It hasn’t been straightforward, but that’s a whole other post…)
I wanted to be able to test my web-hook code without repeatedly triggering
events from the gateway. I stored the incoming events in JSON format, which