Hacker News new | ask | show | jobs
by dashesyan 1532 days ago
This doesn’t duplicate one of the best features of Ngrok: the local web server that lets you inspect and replay recent requests. This feature makes writing webhook code so much easier, because if your code doesn’t work right, you can inspect the request, fix your code, and have Ngrok replay the request until it’s all working properly. That’s even in the free version! And the paid version is also pretty cheap, and you don’t have to maintain, nor pay for, a cloud instance
3 comments

Sometimes I feel like most of my headache is in just getting that first request to hit ngrok. Then I’ll replay it dozens of times as I figure out the functionally.
Ngrok is indeed nice for this. I’ve found that Firefox dev tools can replay requests out of the box which is pretty handy.
TBH, that is not terribly hard to replicate, and certainly not worth it risking accidentally sending auth tokens to some third party.