7
10 Comments

How do you work with webhooks?

Integrations with other popular services are a very effective way of increasing the value of SaaS type solutions. Many of these means working with webhooks to receive updates from other services.
I wanted to know how you guys work with webhooks when developing a solution on your local machine? I know solutions like Ngrok and Expose exist, but I feel like there should be better ways. Some way that's more native to the idea of webhook.
Please let me know in the comments if you have faced any difficulties while working with webhooks and mention any tools that solved your problem.

  1. 3

    This might be of interest to you https://hookdeck.com/dev-workflow. I'm pretty sure the founder is an IHer.

    1. 1

      Hookdeck looks really cool. I can see myself using it in my products. Thanks for the tip.

    2. 1

      Thank you so much, heard about hookdeck before. Their onboarding and overall looks are very nice.

  2. 3

    Stripe, the payment company, offers the cleanest way to test webhooks with localhost through their CLI. If you have a Stripe account you can login and click on webhooks.
    Obviously, this only pertains to Stripe itself.

    1. 1

      Yes this is a very neat feature that greatly improves developer experience. It's really a joy to work with Stripe in general.

  3. 2

    Ngrok & Expose are good options but there are others.

    Services like Wehook Relay can forward your webhook payloads to one or more other sites, including your local install.

    There's also Webhook.site that will accept incoming webhooks and let you examine the payloads.

    Personally, I like ngrok, but realize it might not be the best solution for everybody. Good luck with whatever you choose!

    1. 2

      Thank you so much, I was looking for something like this.

  4. 1

    I use webhooks mostly by connecting via ngrok like others have already mentioned.
    I've also heard of Cloudflare recently which offers something similar to ngrok.

  5. 1

    I personally use ngrok and have upgraded to get a permanent reserved domain. For me this setup works just fine, and I'm not sure how it would be improved.

    What don't you like about using ngrok? I'm not sure what you mean by "more native" - the external service hitting your real dev server via a tunnel seems like the definition of native to me.

    1. 1

      I meant something like Hookdeck and Webhook Relay mentioned above, solutions that are specifically targeted towards webhook development.

Trending on Indie Hackers
How I grew a side project to 100k Unique Visitors in 7 days with 0 audience 47 comments Competing with Product Hunt: a month later 33 comments Why do you hate marketing? 27 comments $15k revenues in <4 months as a solopreneur 14 comments Use Your Product 13 comments How I Launched FrontendEase 13 comments