Webhooks aka Reverse APIs

แชร์
ฝัง
  • เผยแพร่เมื่อ 8 ม.ค. 2025

ความคิดเห็น • 132

  • @saif1457
    @saif1457 6 ปีที่แล้ว +97

    Lol 4:09 "omg hi mom I'm not failing my classes or anything"

  • @conradojordan
    @conradojordan 4 ปีที่แล้ว +7

    Tried watching shorter videos because I was in a hurry, but ended up still not understanding the concept very well.
    These 6 and a half minutes were worth it, it's all clear now. Thank you!

  • @TheSakox
    @TheSakox 6 ปีที่แล้ว +63

    Heard the term a million times, now i know what it actually is. Thanks!

  • @vaylx2253
    @vaylx2253 2 ปีที่แล้ว +3

    I watched this video about a year and a half ago before I became a dev. Now I'm about to wrap up my internship and have been offered a fulltime job. Back here looking at this video as we actually use webhooks where I work, so I wanted to know more about them. Good times. Great video. Thank you :)

    • @mohammadminhaziftekhar4074
      @mohammadminhaziftekhar4074 2 ปีที่แล้ว +1

      Now I'm doing my internship and learning about webhooks, Wish me luck and best of luck to you too

  • @MindsetBliss
    @MindsetBliss 2 ปีที่แล้ว +1

    API's, Webhooks, I was so confused and you made it easy to finally understand it. As an instructor, you're a 10/10, Outstanding!

  • @angeldimitrov1353
    @angeldimitrov1353 3 ปีที่แล้ว

    Excellent tutorial! There are many crappy and drawn-out videos about web hooks but yours made the most sense.

  • @lune187x
    @lune187x 5 ปีที่แล้ว +10

    "So get out there and start slangin' events all over the internet" lol I feel empowered.

  • @tarvinder91
    @tarvinder91 5 ปีที่แล้ว +1

    This video was so crisp and to the point.

  • @theskullhead100
    @theskullhead100 6 ปีที่แล้ว +1

    I once used facebook's webhook but I never really understood what it did. After watching your video it's crystal clear. Love your videos, man.

  • @aviredmi2245
    @aviredmi2245 6 ปีที่แล้ว +19

    This really helped with my current project. Thank you

  • @minurapunchihewa4592
    @minurapunchihewa4592 2 ปีที่แล้ว

    Best explanation of Webhooks I have come across!

  • @hosnymubark6528
    @hosnymubark6528 3 ปีที่แล้ว

    My English is pretty bad but I still understood 100% of your video.
    Best teacher ever!

  • @DevGamer19
    @DevGamer19 4 ปีที่แล้ว

    Best Explanation for the WebHooks.

  • @jordankostadinov9499
    @jordankostadinov9499 5 ปีที่แล้ว +1

    Thank you Sir! You saved me from being fired for not knowing how to push data to CRM via POST webhooks and shit. But now I know. So thank you!

  • @avrahamhirsch2724
    @avrahamhirsch2724 3 ปีที่แล้ว

    OMG! I was trying to figure out what a webhook was and I was getting nowhere. Within 2 minutes of watching this video, I finally understand!

  • @brianlandis3057
    @brianlandis3057 4 ปีที่แล้ว

    Nice explanation! I googled and read some text about the subject, but this was my first video on the subject and I think you told me all I need to know for now--thanks!

  • @davidezih3510
    @davidezih3510 3 ปีที่แล้ว

    Nicely explained ! - - -> Practicality > Theory!

  • @aadlr
    @aadlr 5 ปีที่แล้ว

    Very effective and efficient overview of both types of webhooks!

  • @JanacMeena
    @JanacMeena 3 ปีที่แล้ว

    4:56: "The data you get from a webhook which is the same as what you get from an API, except its pushed to you rather than pulling it from an REST API"

  • @louisreinitz5642
    @louisreinitz5642 3 ปีที่แล้ว

    callbacks will never die!

  • @vinaykumardahiya4260
    @vinaykumardahiya4260 3 ปีที่แล้ว

    Awesome, it was a nice intro to the world of webhooks!

  • @mr.x5582
    @mr.x5582 2 ปีที่แล้ว

    This is a fantastic explanation and the best I have seen. Thank you very much!

  • @gauthamvijayan
    @gauthamvijayan 3 ปีที่แล้ว

    Phenomenal Video! Finally understood the webhook concept!

  • @robin54484
    @robin54484 4 ปีที่แล้ว

    Coming straight to the point. It like that.

  • @williamjamesrapp7356
    @williamjamesrapp7356 5 ปีที่แล้ว

    ***QUESTION*** I am working on building a website. It is going to require a specific function in order for the website to work as needed.
    A customer will fill out a data-form for a FEE ( $ ) when the customer completes the Form they click NEXT button which takes them to a PAYMENT page. The customer completes the PAYMENT form then presses SUBMIT ***HERE IS THE QUESTION*** Once the payment is CONFIRMED ONLY THEN will the data be submitted into the database. IS THAT done with a WEB HOOK or some form of Javascript ot something else ???

  • @HypaxBE
    @HypaxBE 3 ปีที่แล้ว

    Are webhooks synchronous or asynchronous? Does the source get some sort of reply that the message was received by our endpoint?

  • @jajajajalelelele
    @jajajajalelelele 5 ปีที่แล้ว +2

    Is It possible to do a cylic webhook ? o.O request -> response -> request -> response

  • @maheshj01
    @maheshj01 5 ปีที่แล้ว

    Man man man you are the only one in the land thanks for the quick informative video

  • @xtokio
    @xtokio 6 ปีที่แล้ว

    Finally I know what and how it works! Thanks I love your videos

  • @mathewbrown37
    @mathewbrown37 5 ปีที่แล้ว

    Mind absolutely blown.....thank you for this video

  • @H40XKM
    @H40XKM 4 ปีที่แล้ว +4

    "You're on the right video" - well, exactly that. I Watched 3 videos of other guys trying to abstract the whole thing. thanks for nailing it.

  • @okey1317
    @okey1317 2 ปีที่แล้ว

    What i dont understand is, When git pushes the message into the discord webhook... I guess it goes to the discord server. Now how does the message arrives the discord application? is that a normal api polling from the app to discord server?

  • @noisevector
    @noisevector 6 ปีที่แล้ว +1

    But what if the data you're sending via the webhook is really important (like a stock qty) and the receiving side is down or temporarily unreachable? Is there a "retry on failure"-mechanism?

    • @EngineerMan
      @EngineerMan  6 ปีที่แล้ว +1

      This would be dependent on the vendor providing the hook.

  • @chimerablack4913
    @chimerablack4913 4 ปีที่แล้ว

    When did Wil Wheaton start teaching code?

  • @aaronbaldwin2845
    @aaronbaldwin2845 4 ปีที่แล้ว

    This was explained beautifully. Thank you. I will be checking out your other videos, for sure

  • @CostumeJewelryHome
    @CostumeJewelryHome 6 ปีที่แล้ว

    Dude your vids are clear and BS free.Pure geek!

  • @suhasnama2795
    @suhasnama2795 6 ปีที่แล้ว +3

    Really love the stuff you post , keep doing more interesting stuff ✌️.
    You deserve a thumbs up 👍

  • @alanramiresbr
    @alanramiresbr 5 ปีที่แล้ว

    Did i have to come up with a "listener" in javascript/java to make my software knows when a webhook is sent from an external app such as uber eats? if so, how do i code it to catch it? (it be the reversal of your video, instead of you post it and discord/github catches, they sent and you catch it, got it?) do you have any examples? thanks in advance

  • @justindowty
    @justindowty 6 ปีที่แล้ว

    Great info. One question, I need to integrate two CRM services together for work, one of these services supports web hooks and one does not. The payloads expected are also entirely different, so I will have to be formatting the payloads with code. Is a service like Zapier what I should be looking into to have data shared between these services? One trigger being a catch, reformat, and post, and another trigger being a poll URL, reformat, and post.

  • @ChildishBenbino
    @ChildishBenbino 5 ปีที่แล้ว

    Is there anyway to use webhooks without a website? Like if you’re exclusively making a command line application?

  • @AlienAndrew51
    @AlienAndrew51 5 ปีที่แล้ว

    I'm building a web scrapper to integrate with Google Apps Scripts. When I post the data to my server that accepts the parameters and the server sends back the data to my Google Sheets Application. Would this be called a webhook or just an API?

  • @RahulT-oy1br
    @RahulT-oy1br 5 ปีที่แล้ว

    Is it possible to create my own webhooks I.e. if I want my own Heroku hosted code/server to be able to call my front-end when there's a change?

  • @CoryTheSimmons
    @CoryTheSimmons 5 ปีที่แล้ว +1

    I would love to see how to console.log the data in one of these from Express/Koa.

  • @mansaha9288
    @mansaha9288 5 ปีที่แล้ว

    Arent microservices built with webhooks thing to communicate between them?

  • @alexandergavenea4154
    @alexandergavenea4154 4 ปีที่แล้ว

    Verrrrry well explained to a scrub as I am. Thanks a lot!

  • @TheMegaloYT
    @TheMegaloYT 6 ปีที่แล้ว

    Staying informed is important. Thanks for the info. 👌

  • @kamalgyanchandani4143
    @kamalgyanchandani4143 5 ปีที่แล้ว

    If we want to add Authorization: Bearer then what we do.

  • @ankuristics2117
    @ankuristics2117 4 ปีที่แล้ว

    Thanks for your videos it helps me in my project

  • @sidigmark8826
    @sidigmark8826 6 ปีที่แล้ว +1

    Simple is best. Thank you for explaining it so well 👍

  • @mastadodo
    @mastadodo 4 ปีที่แล้ว

    So, basically it's a callback, but over the web?

  • @Overthought7
    @Overthought7 5 ปีที่แล้ว

    Dude, this was so helpful. Thank you!

  • @MarketingWill
    @MarketingWill 6 ปีที่แล้ว +2

    Question: Do you have resources that focus on events and queues? I’d love to understand more about how the event is fired off or how discord would be listening for those events. Like you said in the video, it would be a huge waste of resources to be constantly checking for new results from a web hook so how do you process the results of a web hook message on the receiving side? Thanks for the info and great video?

    • @TheAcousticEngineer
      @TheAcousticEngineer 3 ปีที่แล้ว +1

      Well this is 3 years too late, but I hope this helps:
      A web hook is like a reverse API, so when he created a Web Hook on Git Hub for his discord channel, there is no constant listening by discord(this process is called Polling). Instead, it is now the responsibility of Git Hub to send a message to discord when the Event occurs(in this case a new commit).
      So rather than having discord constantly check with Github whether the event occurred or not, it has delegated the responsibility to Github to notify in a Pub/Sub model.
      It is pretty much similar to you writing an API. However here the request object is defined by the caller, instead of the callee which is the norm with an API. Once you receive that request object, whatever logic you want to implement on it is pretty much the same as you writing the logic of a POST API.

    • @MarketingWill
      @MarketingWill 3 ปีที่แล้ว +1

      @@TheAcousticEngineer Hah! Thanks for the reply and the trip down memory lane! Well explained!

  • @timhanewich4701
    @timhanewich4701 3 ปีที่แล้ว

    Great explanation and examples, thank you!

  • @chawza8402
    @chawza8402 2 ปีที่แล้ว

    Here is what I understand. A web hook is a just an API endpoint that if you call it, the endpoint will run something about the payload and send it to the subscriber? that's it? no complicated framework? no new services? or new programming language to learn?

    • @chawza8402
      @chawza8402 2 ปีที่แล้ว

      It feels like I'm missing something which i overlook because how simple it is. because these articles make it more complicated with fancy diagram and long texts

  • @alexkalopsia
    @alexkalopsia 5 ปีที่แล้ว

    Thanks for the video, clear and to the point

  • @UniDoX
    @UniDoX 4 ปีที่แล้ว

    You should make a tutorial on how to make an webhook for discord that tells on the discord server if your VPN IP get's attacked on

  • @DaggieBlanqx
    @DaggieBlanqx 6 ปีที่แล้ว +1

    Thank you , you`ve greatly helped me

  • @dipper9534
    @dipper9534 4 ปีที่แล้ว

    Thanks for the video, it was very helpful!

  • @zedd81
    @zedd81 5 ปีที่แล้ว

    Does anyone have any idea what is an `isiwebhook` on chrome? It is an extension, which i cannot remove at all, I did not install it, and making me nervous
    Thanks

  • @borislavyanev1542
    @borislavyanev1542 3 ปีที่แล้ว

    Really nice explanations, thanks!

  • @williamjamesrapp7356
    @williamjamesrapp7356 4 ปีที่แล้ว

    ENGINEER MAN I am NOT at your level of knowledge in this field and I have little idea as to what you were talking about BUT I THINK I have a round about idea as to what you were talking about. I do appreciate you reaching out and sharing your knowledge with us all. Below I have a question and maybe it is glaringly Obvious to you consider what you already stated in this video. Maybe you can explain it in much simpler terms, say like we are not all engineers or programmers so try and use some common language instead of industry terminology would be a big help for us novices. THANKS please look below for my question.

  • @ep1499
    @ep1499 6 ปีที่แล้ว

    Awesome stuff. Any chance of a video on Google apps?

  • @sameer43dxt
    @sameer43dxt 6 ปีที่แล้ว

    how can i pull data from any apps by webhooks?

  • @PauloOrquillo
    @PauloOrquillo 4 ปีที่แล้ว

    how secure is using webhook?

  • @Ahhshoot007
    @Ahhshoot007 6 ปีที่แล้ว

    Hello EM, I'm new to your channel and I'm sure you've already answered my question at some point, but where did you learn how to do all of this stuff. I'm new to the Linux world and coming from the Windows side and it just amazes me how much stuff you know. Just curious.

    • @EngineerMan
      @EngineerMan  6 ปีที่แล้ว

      Mostly just time and being very curious. I watch a lot of videos, read a lot of documentation, and experiment a lot. I started with Ubuntu 3.10 about 16 years ago.

  • @imqt
    @imqt 4 ปีที่แล้ว

    Why is the discord webhook a web hook? It does not push stuff it just receives data.

    • @EngineerMan
      @EngineerMan  4 ปีที่แล้ว +1

      That's actually a good question. I don't think Discord chose the best term there.

  • @ENI232
    @ENI232 3 ปีที่แล้ว

    This video is??? So??? Good????? Where was it all this while???

  • @onesun3023
    @onesun3023 5 ปีที่แล้ว

    Great voice. Very calming and reassuring. Good explanation too.
    You should dig into using a pozzed Webhook from a company, like Square. It's very confusing. I get no webhooks from it from purchases when it's supposed to fire, though I get the test webhooks at the URL. I messaged support and they said I need to call an API when I get the webhook, though I told them three times I GET NO WEBHOOKS. Not even error messages.

  • @aloncarmelly282
    @aloncarmelly282 3 ปีที่แล้ว

    thank man ! clear and to point !

  • @bugbug442
    @bugbug442 4 ปีที่แล้ว

    Thanks man. Hooked to your channel!

  • @balance4432
    @balance4432 6 ปีที่แล้ว

    Thank you for this! Amazing

  • @libracharan
    @libracharan 4 ปีที่แล้ว

    Explained Simply very well!!

  • @threeone6012
    @threeone6012 4 ปีที่แล้ว

    { perfect: 'explanation' }

  • @valouchi22
    @valouchi22 6 ปีที่แล้ว +3

    nice, gonna use discord git interaction right now

  • @santiagopabloortiz6322
    @santiagopabloortiz6322 2 ปีที่แล้ว

    This was gold!

  • @IctioPar
    @IctioPar 5 ปีที่แล้ว

    Now I know how Slack's GDrive Bot gets the updates, thanks!

  • @BrendanMetcalfe
    @BrendanMetcalfe 4 ปีที่แล้ว

    Thanks great explanation!

  • @juniordataengineer
    @juniordataengineer 3 ปีที่แล้ว

    Great video let me now go implement a webhook in go

  • @AppaloosaMichael
    @AppaloosaMichael 2 ปีที่แล้ว

    Thanks engineer man

  • @KingEbolt
    @KingEbolt 6 ปีที่แล้ว

    Thanks, this is a great video! Can you make an API tutorial with python?

  • @swaggyb_9922
    @swaggyb_9922 6 ปีที่แล้ว +1

    can you please do post twitter(anything) with python? :D

  • @alinagy
    @alinagy 6 ปีที่แล้ว

    Is webhook == websocket? Or am I really dumb?

    • @EngineerMan
      @EngineerMan  6 ปีที่แล้ว

      Those two things are very different. You're not dumb though.

    • @alinagy
      @alinagy 6 ปีที่แล้ว

      I see, I should look more into it.

  • @julesezeh132
    @julesezeh132 ปีที่แล้ว

    Great video. Thank you.

  • @shaileshpandit2696
    @shaileshpandit2696 ปีที่แล้ว

    Started the video and thought mr beast started teaching code 😂

  • @psybitcoin
    @psybitcoin 6 ปีที่แล้ว

    Like Observer Pattern

  • @ggmaxx66
    @ggmaxx66 3 ปีที่แล้ว

    very concise, thanks!

  • @explore_if
    @explore_if 2 ปีที่แล้ว

    This man sometimes look like Mrs Beast

  • @justChuka
    @justChuka 4 ปีที่แล้ว

    Well said and with examples

  • @sinajalali8974
    @sinajalali8974 3 ปีที่แล้ว

    Cool tutorial. thank you :)

  • @l75rd83
    @l75rd83 6 ปีที่แล้ว

    hey man, where did you learn all these skills?

  • @scienceblossom6197
    @scienceblossom6197 4 ปีที่แล้ว

    OMG This guy is so amazing!

  • @jercatallo3173
    @jercatallo3173 2 ปีที่แล้ว

    at first I thought you are Mr. Beast

  • @williamjamesrapp7356
    @williamjamesrapp7356 4 ปีที่แล้ว

    QUESTION How do I get a result from a PAYMENT process ( like STRIPE or PAYPAL ) to Trigger an Event or Function in MY website ?
    I am building a Business Website where in steps ( 1 ) a Customer ( anyone this is not a Subscription nor membership site ) comes to my web site Fills out a Form for DATA SUBMISSION into the Database. ( 2 ) Once the DATA Form is filled out they press NEXT button ( 3 ) they are taken to a 3rd party PAYMENT page where they fill out a payment form and then press SUBMIT ( 4 ) once the SUBMIT button is pressed payment is process ( 5 ) ONLY AFTER PAYMENT IS APPROVED THEN I want the Data to be submitted into the data base.
    QUESTION Is STEP # 5 completed with JS or some other language ? HOW do I complete the process where AFTER PAYMENT IS ACCEPTED from a 3rd party payment processor ( like STRIP or PAYPAL ) THEN the data from the Already filled out data form is submitted into the data base ??

  • @happyb.s.productions316
    @happyb.s.productions316 6 ปีที่แล้ว

    Could you generate a million backlinks my website?

  • @packlimo
    @packlimo 6 ปีที่แล้ว

    Wait, how did you get your discord to be #0001

    • @ColinTheShark
      @ColinTheShark 6 ปีที่แล้ว

      Discord Nitro ($5/m) let's you choose your #xxxx.
      I too have a #0001 ^^
      (also only works when the number you want is not yet used.)

  • @mmti1010
    @mmti1010 3 ปีที่แล้ว

    Thanks that was helpful

  • @BasicallySteve23
    @BasicallySteve23 6 ปีที่แล้ว +6

    So is this like blockchain?

    • @novaardent4528
      @novaardent4528 6 ปีที่แล้ว +1

      its not remotely like block chain

    • @jasongomez5344
      @jasongomez5344 6 ปีที่แล้ว +6

      Yes, and also like ice-cream.

    • @ajopasoij9d00
      @ajopasoij9d00 6 ปีที่แล้ว

      Lol buzzwords

    • @pradeepsahoo7243
      @pradeepsahoo7243 5 ปีที่แล้ว

      @@noblesavage149 Nothing like Block-chain

  • @2HAMMERS1
    @2HAMMERS1 3 ปีที่แล้ว

    how did this guy learn all this stuff
    no one is born knowing this
    I am SOOOOOOOOOOOOOO lost

  • @nayabinlam
    @nayabinlam 6 ปีที่แล้ว

    make a top 5 (or top 10) softwares a computer science student should have !!!

  • @guitaripod
    @guitaripod 2 ปีที่แล้ว

    Thanks