Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Webhooks - The API strikes back
Search
Phil Nash
March 23, 2015
Programming
210
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
620
JavaScript Apps Go Intl - GIDS Live 2021
philnash
2
410
You're on Mute! WebRTC and our Lives on Screen - GIDS Live 2021
philnash
1
410
Better API DX with a CLI - APIdays Jakarta
philnash
0
490
The trouble with webhooks - at Apidays Live Hong Kong
philnash
2
320
Four steps from JavaScript to TypeScript
philnash
0
530
Fantastic passwords and where to find them - at NoRuKo
philnash
53
4k
The trouble with webhooks - at APIdays Singapore
philnash
0
450
What's going on with Project Fugu? at DevTalks Reimagined
philnash
0
670
Other Decks in Programming
See All in Programming
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
400
When benchmarks go bad - what I learned from measuring performance wrong
hollycummins
0
240
気持ちぃ〜角丸 Squircle
ryu1013
0
340
[2026-10-14](C)Re:ゼロから始める異世界生活〜始まりの終わりと終わりの始まり〜
tosite
0
150
ActionController meets Protocol Buffers
sorah
0
700
現場と育てるRailsモデリング 〜Spreadsheetから始めたモデル設計〜
siroemk
2
940
[JA] Domain Modeling with Vanilla Rails: 「操作」から再考するRailsの設計論
yasaichi
4
910
オーケストレーション記述言語 Katari
yukikurage
0
190
3回つくってわかった、 定期実行ジョブ基盤の本質情報
takai
3
3k
Seven New Principles of Software Engineering
yegor256
0
290
残高管理から台帳サービスへの進化
artoy
1
210
自サークルのIdPからログアウトできるようになるまで
taiseiue
1
150
Featured
See All Featured
The Illustrated Children's Guide to Kubernetes
chrisshort
51
53k
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
450
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
63
47k
Test your architecture with Archunit
thirion
2
2.5k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
Scaling GitHub
holman
464
140k
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
4
4.4k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.6k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
203
77k
Building Adaptive Systems
keathley
44
3.3k
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
1
3.5k
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
360
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