Test SendGrid Webhooks with ngrok

Best Practices, Technical

SendGrid’s webhooks for inbound parse (receiving email) and events are great for hacking with, but they can be difficult to test in a productive manner because you have to keep deploying your code to the live server in order to get our webhooks to hit it, right? Wrong. In this post I’m going to show you how to work with ngrok to make local development with webhooks easier than ever. Install ngrok on Your Development Machine It’s always nice when there’s a good set of installers for things like this, you can download ngrok for OSX, Linux and Windows. It’s worth noting that ngrok doesn’t automatically symlink to your /bin folder, so to start out just copy the ngrok file