APIs vs Webhooks

  Рет қаралды 99,917

mParticle by Rokt

mParticle by Rokt

Күн бұрын

Пікірлер: 25
@CzajaFabian
@CzajaFabian 5 ай бұрын
Extremely high-quality video. Good work, man! You have too few followers, but now one more. ;)
@notcxrms
@notcxrms Ай бұрын
I wished u guys uploaded more😭 u guys are so cool in explaining
@VK-pk8uz
@VK-pk8uz Жыл бұрын
So a webhook is just a POST-endpoint whereas an API is a whole host of endpoints?
@BudetSvobodnoy
@BudetSvobodnoy 11 ай бұрын
This and the fact that API has request-response cycle, whereas webhook just sends data oneway. That's how I understood it.
@tvstation2
@tvstation2 4 ай бұрын
Yes
@AA-rg4sv
@AA-rg4sv 2 ай бұрын
Its a great content. How to test the webhook server using test automation? Thanks
@ifeoluwaajiboye7741
@ifeoluwaajiboye7741 9 ай бұрын
What if i have a video hosted on airtable, do i still to use the "get a file" module to post on my KZbin
@smdedar
@smdedar 2 жыл бұрын
Thanks very well explained
@jaymarcase9737
@jaymarcase9737 Жыл бұрын
You did a great job of explaining that.
@tknayak
@tknayak 10 ай бұрын
You made it more difficult to understand
@johnmcway6120
@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
@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
@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
@wessamabozeid8522 Жыл бұрын
@@XEQUTE This explains it better than the video
@XEQUTE
@XEQUTE Жыл бұрын
pleasure buddy@@wessamabozeid8522
@BisterBox
@BisterBox 5 ай бұрын
You can request as soon as an event takes place
@jacobyoung2045
@jacobyoung2045 Жыл бұрын
Risk his phone to teach us, thank you.
@ayasswain
@ayasswain 9 ай бұрын
Well explained
@sushik15
@sushik15 5 ай бұрын
Crappy explanation. I should have known halfway through that since u arent using a dark theme in postman u arent a real developer
@Ravi5ingh
@Ravi5ingh Ай бұрын
so a webhook is an endpoint? why is this 4 minutes?
@sardor-tokhirov
@sardor-tokhirov 2 жыл бұрын
Thank you fro awsome video !
@manshalkhatri9289
@manshalkhatri9289 Жыл бұрын
Informative
@TheEletricboy
@TheEletricboy 3 ай бұрын
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.
@knottage
@knottage 2 жыл бұрын
Nice vid
@victorbuqueramenezesdesouz4691
@victorbuqueramenezesdesouz4691 2 жыл бұрын
thanks
What Is A Webhook - Why Is It Key To Headless Architectures?
5:38
Going Headless with John
Рет қаралды 65 М.
Правильный подход к детям
00:18
Beatrise
Рет қаралды 11 МЛН
Try this prank with your friends 😂 @karina-kola
00:18
Andrey Grechka
Рет қаралды 9 МЛН
Mom Hack for Cooking Solo with a Little One! 🍳👶
00:15
5-Minute Crafts HOUSE
Рет қаралды 23 МЛН
APIs for Beginners - How to use an API (Full Course / Tutorial)
3:07:07
freeCodeCamp.org
Рет қаралды 3,1 МЛН
Top 3 Things You Should Know About Webhooks!
3:55
ByteByteGo
Рет қаралды 111 М.
API vs. SDK: What's the difference?
9:21
IBM Technology
Рет қаралды 1,5 МЛН
This is why webhooks are important
7:59
Web Dev Cody
Рет қаралды 38 М.
Difference Between REST API vs Web API vs SOAP API Explained
7:24
Learn with Whiteboard
Рет қаралды 291 М.
Webhooks: What They Are, How To Use Them & Why You Need Them
9:16
James Perkins
Рет қаралды 19 М.
How WebHook works | System Design
7:43
ByteMonk
Рет қаралды 110 М.
REST API (HTTP) vs Websockets - Concept Overview With Example
7:07
Be A Better Dev
Рет қаралды 270 М.
Правильный подход к детям
00:18
Beatrise
Рет қаралды 11 МЛН