Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Webhooks - The API strikes back
Search
Phil Nash
March 23, 2015
Programming
200
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Webhooks - The API strikes back
Phil Nash
March 23, 2015
More Decks by Phil Nash
See All by Phil Nash
Four steps from JavaScript to TypeScript
philnash
3
590
JavaScript Apps Go Intl - GIDS Live 2021
philnash
2
400
You're on Mute! WebRTC and our Lives on Screen - GIDS Live 2021
philnash
1
400
Better API DX with a CLI - APIdays Jakarta
philnash
0
470
The trouble with webhooks - at Apidays Live Hong Kong
philnash
2
310
Four steps from JavaScript to TypeScript
philnash
0
510
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.8k
The trouble with webhooks - at APIdays Singapore
philnash
0
440
What's going on with Project Fugu? at DevTalks Reimagined
philnash
0
650
Other Decks in Programming
See All in Programming
その節約、円になってますか?
isamumumu
1
730
Built Our Own Background Agent at LayerX
layerx
PRO
10
5.3k
AI時代のPHPer生存戦略 ~「言語、もうなんでもよくない?」に本気で向き合う~
vivion
0
320
JAWS-UG横浜 #102 AWSサ終供養LT会 成仏できない AWS サービスたち 〜本日、三体供養します〜
maroon1st
0
350
5分で問診!Composer セキュリティ健康診断
codmoninc
0
960
自動化したのに回らないテスト運用の壁ーAI時代の品質責任と生産性
mfunaki
0
130
わからない話を追いかけたら、プログラミング言語を作る側にいた
ydah
3
490
Go言語とトイモデルで学ぶTransformerの気持ち / fukuokago23-transformer
monochromegane
0
170
170k Jobs a Day on GKE: Scaling Mercari's CI Platform - and What's Next for AI-Native Development
junyaokabe
0
110
Detecting Compromised CI with eBPF and Cilium Tetragon
lizrice
0
170
php-fpmのプロセスが枯渇した日-調査・対処・そして本当にやるべきだったこと-
shibuchaaaan
0
270
プロポーザルを書いてもらう
pvcresin
0
400
Featured
See All Featured
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2.4k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
10
1.3k
Jamie Indigo - Trashchat’s Guide to Black Boxes: Technical SEO Tactics for LLMs
techseoconnect
PRO
0
590
30 Presentation Tips
portentint
PRO
1
370
jQuery: Nuts, Bolts and Bling
dougneiner
66
8.5k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
360
30k
B2B Lead Gen: Tactics, Traps & Triumph
marketingsoph
0
200
SEOcharity - Dark patterns in SEO and UX: How to avoid them and build a more ethical web
sarafernandez
0
240
What’s in a name? Adding method to the madness
productmarketing
PRO
24
4.1k
Building Adaptive Systems
keathley
44
3.2k
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
400
The Cost Of JavaScript in 2023
addyosmani
55
10k
Transcript
WeB HookS
The api StrikeS bacK
Phil Nash @philnash http:/ /philna.sh
[email protected]
WeB HookS
WEBHOOKS
Webhooks • What are webhooks? • Developing with webhooks •
Webhook best Practices
WHAT ARE WEBHOOKS?
I COULD TELL YOU...
+447903517178
WEBHOOKS
QUESTIONS?
Webhooks everywhere • Twilio • GoCardless • GitHub • Mandrill
• Stripe • MailChimp • HipChat • SendGrid • DropBox • Slack
WHY WEBHOOKS?
None
WORKING WITH WEBHOOKS
None
NGROK
BECOMING AN API
Becoming an API • Security • Performance • Idempotence
SECURITY
None
USE HTTPS
WEBHOOK PROVIDERS SIGN THEIR REQUESTS
VERIFY THE SIGNATURE
SOME WEBHOOK PROVIDERS DON'T SIGN THEIR REQUESTS
¯\_( ツ)_/¯
SHARE SECRETS
PERFORMANCE
BE GOOD TO YOURSELF AND THE WEBHOOK
DELAY LONG RUNNING TASKS
IDEMPOTENCE
F(F(X)) = F(X)
RETRIES ARE WONDERFUL BUT...
SENDING HUNDREDS OF SMS IS NOT
Webhooks • Use webhooks instead of polling • Use ngrok,
or similar, for development • Secure your webhooks! • Respond quickly to webhooks • Idempotence (idempotence, idempotence...)
None
The modern communications conference http:/ /signal.twilio.com Get 20% off with
code NASH20
Image credits • Polling Station - secretlondon123 • Stevie Graham
- Stevie Graham
Help me! On a scale of 0 to 10, how
likely is it that you would recommend this talk to a friend or colleague? +447903517178
Thanks! @philnash http:/ /philna.sh
[email protected]
Help me! On a scale
of 0 to 10, how likely is it that you would recommend this talk to a friend or colleague? +447903517178