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
190
1
Share
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
580
JavaScript Apps Go Intl - GIDS Live 2021
philnash
2
370
You're on Mute! WebRTC and our Lives on Screen - GIDS Live 2021
philnash
1
380
Better API DX with a CLI - APIdays Jakarta
philnash
0
450
The trouble with webhooks - at Apidays Live Hong Kong
philnash
2
290
Four steps from JavaScript to TypeScript
philnash
0
490
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.7k
The trouble with webhooks - at APIdays Singapore
philnash
0
420
What's going on with Project Fugu? at DevTalks Reimagined
philnash
0
630
Other Decks in Programming
See All in Programming
Moments When Things Go Wrong
aurimas
3
140
Spec-Driven Development with AI-Agents: From High-Level Requirements to Working Software
antonarhipov
2
440
oxlintはeslint/typescript-eslintを置き換えられるのか
shomafujita
2
310
フロントエンドとバックエンドで「1文字」を揃えよう
youkidearitai
PRO
0
190
並列実装の現場、2ヶ月間実務でAIを使い倒したAIもPCも私も限界が近い
ming_ayami
0
110
メソッドのジェネリクスでGoの夢は広がるか? / Kyoto.go #65
utgwkk
3
470
Old Dog, New Tricks: The Java 25 Reinvention - JNation
bazlur_rahman
0
140
作って学ぶ、 JSX (TSX) ランタイムの基本
syumai
7
1.5k
正しくソフトウェアを作る、前提を疑うための認知の視点 / doubt-premise
minodriven
17
5.8k
The NotImplementedError Problem in Ruby
koic
1
560
柔軟なPDFレイアウトエディタを支える型システム設計 — Discriminated UnionとConditional Typeの実践
minako__ph
4
1.4k
Make SRE Operations Easier with Azure SRE Agent
kkamegawa
0
3.7k
Featured
See All Featured
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
22k
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
140
Optimizing for Happiness
mojombo
378
71k
Leading Effective Engineering Teams in the AI Era
addyosmani
9
2k
Navigating Weather and Climate Data
rabernat
0
210
Measuring & Analyzing Core Web Vitals
bluesmoon
9
860
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
0
1.6k
Tell your own story through comics
letsgokoyo
1
940
AI: The stuff that nobody shows you
jnunemaker
PRO
8
690
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
3
3.5k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
250
1.3M
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.3k
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