Extremely high-quality video. Good work, man! You have too few followers, but now one more. ;)
@notcxrmsАй бұрын
I wished u guys uploaded more😭 u guys are so cool in explaining
@VK-pk8uz Жыл бұрын
So a webhook is just a POST-endpoint whereas an API is a whole host of endpoints?
@BudetSvobodnoy11 ай бұрын
This and the fact that API has request-response cycle, whereas webhook just sends data oneway. That's how I understood it.
@tvstation24 ай бұрын
Yes
@AA-rg4sv2 ай бұрын
Its a great content. How to test the webhook server using test automation? Thanks
@ifeoluwaajiboye77419 ай бұрын
What if i have a video hosted on airtable, do i still to use the "get a file" module to post on my KZbin
@smdedar2 жыл бұрын
Thanks very well explained
@jaymarcase9737 Жыл бұрын
You did a great job of explaining that.
@tknayak10 ай бұрын
You made it more difficult to understand
@johnmcway6120 Жыл бұрын
so I can't send an API request as soon as an event takes place? cant this be achieved in the exact same way? function send_message(): # code request.post(status, details) How is using webhooks different?
@XEQUTE Жыл бұрын
In some cases your code is posible but many times it is not possible to poll the server for changes and then send a request A better explanation brought to you by the new age internet : Webhooks work in a different way. With webhooks, you don't initiate a request to the server; instead, the server initiates a request to your client when an event occurs. The server "calls back" to a URL provided by your client (the webhook endpoint), and sends data about the event that triggered the webhook. So, in the case of using webhooks, you don't need to constantly poll the server for updates or events. Instead, the server sends you the data automatically, as soon as the event occurs. This can be more efficient and reduce latency, since you don't need to repeatedly send requests to check for updates. In summary, while both APIs and webhooks can be used to send and receive data, the main difference is in how the data is pushed or pulled. APIs use a request-response model where the client initiates the request, while webhooks use a push model where the server initiates the request to the client.
@antnauman Жыл бұрын
I haven't used webhooks yet, but my understanding is: Webhooks are basically callback URLs that the client provides to the server. These URLs needs to be called by the server when a specific event occurs. So when the event occurs, server will just send a post request to that URL (by probably creating a proxy client), and some server SHOULD be listening at that URL for requests, otherwise there is no point.
@wessamabozeid8522 Жыл бұрын
@@XEQUTE This explains it better than the video
@XEQUTE Жыл бұрын
pleasure buddy@@wessamabozeid8522
@BisterBox5 ай бұрын
You can request as soon as an event takes place
@jacobyoung2045 Жыл бұрын
Risk his phone to teach us, thank you.
@ayasswain9 ай бұрын
Well explained
@sushik155 ай бұрын
Crappy explanation. I should have known halfway through that since u arent using a dark theme in postman u arent a real developer
@Ravi5inghАй бұрын
so a webhook is an endpoint? why is this 4 minutes?
@sardor-tokhirov2 жыл бұрын
Thank you fro awsome video !
@manshalkhatri9289 Жыл бұрын
Informative
@TheEletricboy3 ай бұрын
Good explanation but hooooooly I wasn't ready for the ads. I understand you as a content creator need them but man it ate up a huge unnecessary chunk of the video.