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
Link to your product & tell IH how you came up with your idea 93 comments Ask me to review your product 37 comments Can you try my side project? I'm looking for some feedback 🙂 24 comments Does anyone actually use productivity software? Which one? 13 comments Copywriting Examples — The world's best copy. In one place. 12 comments What do you consider 'Idea validated'? 5 comments