meta_pixel
Tapesearch Logo
Log in
Syntax - Tasty Web Development Treats

Hasty Treat - Webhooks

Syntax - Tasty Web Development Treats

Wes Bos

Tech News, News, Technology

4.9 • 1.2K Ratings

🗓️ 20 September 2021

⏱️ 22 minutes

🧾️ Download transcript

Summary

In this Hasty Treat, Scott and Wes talk about webhooks — one of those concepts that seems a lot scarier than it actually is. Linode - Sponsor Whether you’re working on a personal project or managing enterprise infrastructure, you deserve simple, affordable, and accessible cloud computing solutions that allow you to take your project to the next level. Simplify your cloud infrastructure with Linode’s Linux virtual machines and develop, deploy, and scale your modern applications faster and easier. Get started on Linode today with a $100 in free credit for listeners of Syntax. You can find all the details at linode.com/syntax. Linode has 11 global data centers and provides 24/7/365 human support with no tiers or hand-offs regardless of your plan size. In addition to shared and dedicated compute instances, you can use your $100 in credit on S3-compatible object storage, Managed Kubernetes, and more. Visit linode.com/syntax and click on the “Create Free Account” button to get started. LogRocket - Sponsor LogRocket lets you replay what users do on your site, helping you reproduce bugs and fix issues faster. It’s an exception tracker, a session re-player and a performance monitor. Get 14 days free at logrocket.com/syntax. Show Notes 03:42 - What are webhooks? User-defined HTTP callbacks When something happens, ping this URL with this data Examples: When something sells, ping this URL When someone reverses a charge, lock their account Trigger a build of the website when the content changes Then someone buys a shirt, generate a shipping label and save it to the DB 07:57 - Sending End Can be a great way to hook two services together 09:13 - Receiving End Often you will be the one that accepts the webhook ping In this case, you set up an endpoint 11:00 - Payloads Almost all will send a JSON body that you parse out The method send is variable 11:51 - Auth On the receiving end of a webhook, you often get a token which you can then ping the service with. It will tell you if that request was legit or not. On the sending end, you can often set up headers with auth - same with the method Can be a replacement for a serverless function 13:18 - Testing webhooks Can be a pain in the ass ngrok - expose locally localtunnel Insomnia Postman Stripe has a great VS code extension Snipcart has an awesome dashboard Will also tell you when one failed webhook.site https://expose.dev/ IFTTT Zapier Tweet us your tasty treats! Scott’s Instagram LevelUpTutorials Instagram Wes’ Instagram Wes’ Twitter Wes’ Facebook Scott’s Twitter Make sure to include @SyntaxFM in your tweets

Transcript

Click on a timestamp to play from that location

0:00.0

Monday Monday Monday open wide dev fans get ready to stuff your face with javascript CSS node module barbecue tips get work flows break dancing soft skills web development the hastiest the

0:13.5

Carrazius the tastiest web development treats coming in hot. Here is West

0:19.2

Barracuda boss and Scott El Toro local to Linsky

0:25.2

Welcome to syntax and this Monday hasty treat we're gonna be talking all about web hooks. My name is Scott

0:34.6

Linsky. I'm a developer from Denver Colorado and with me as always is my man the man with the boss boss

0:43.6

How's it going my guy? It is a lovely Monday morning. We are just hanging out here in the dev shack

0:49.6

Whatever you got the full stack shack and we're just cruising man. How you doing?

0:53.6

Doing pretty good pretty good excited to talk about web hooks. I was so surprised that we are almost at 400 episodes and we've never done a

1:00.8

Webhooks explainer. We talked about them, but we've never done a whole show on what web hooks are so yeah, we're here for today

1:07.4

We've said the words webhooks and webhooks like many other things in development or one of those

1:12.9

Concepts that's way scarier than it actually is you hear the word webhooks and you think like oh, man

1:18.1

Is this like Spider-Man or something? No, it's not Spider-Man

1:20.9

It well, it's like really friendly neighbor. It's better man, but it's it's pretty cool

1:24.4

So before we get into that let's talk about some of our sponsors

1:27.0

They which are linoid and log rocket west you want to take linoid and I'll take log rocket

1:32.4

Yeah, linoid is a cloud computing that developers trust

1:37.4

So if you need any sort of cloud computing most likely you need some hosting for your application

1:43.9

You listen to this podcast maybe your note developer you want to put your note application up on a server somewhere

1:49.4

Linoid offers that and they have a pretty wicked $100 worth of free credit as part of this ad read in addition to

1:57.0

Linux hosting which you can run your note or ruby or PHP apps on they also have a dedicated CPU

2:03.1

They have high memory. They've got GPU

2:05.6

Cooper netty's block storage. They've AWS compatible storage

...

Please login to see the full transcript.

Disclaimer: The podcast and artwork embedded on this page are from Wes Bos, and are the property of its owner and not affiliated with or endorsed by Tapesearch.

Generated transcripts are the property of Wes Bos and are distributed freely under the Fair Use doctrine. Transcripts generated by Tapesearch are not guaranteed to be accurate.

Copyright © Tapesearch 2026.