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
1
170
Webhooks - The API strikes back
Phil Nash
March 23, 2015
Tweet
Share
More Decks by Phil Nash
See All by Phil Nash
Four steps from JavaScript to TypeScript
philnash
3
370
JavaScript Apps Go Intl - GIDS Live 2021
philnash
2
210
You're on Mute! WebRTC and our Lives on Screen - GIDS Live 2021
philnash
1
230
Better API DX with a CLI - APIdays Jakarta
philnash
0
300
The trouble with webhooks - at Apidays Live Hong Kong
philnash
2
160
Four steps from JavaScript to TypeScript
philnash
0
360
Fantastic passwords and where to find them - at NoRuKo
philnash
42
2.7k
The trouble with webhooks - at APIdays Singapore
philnash
0
250
What's going on with Project Fugu? at DevTalks Reimagined
philnash
0
370
Other Decks in Programming
See All in Programming
コード生成を伴うLLMエージェント - 2024.07.18 Tokyo AI
smiyawaki0820
11
4.1k
ピグパーティにおけるMongoDB CommunityバージョンからAtlasへの移行事例
10969hotaka
0
130
CSC307 Lecture 10
javiergs
PRO
0
310
実用的かつリーズナブルな 「Azure × Gemini × LINE」~キャラクターBot 実装ライブデモ~
tomodo_ysys
1
170
Rubyのパフォーマンスプロファイリングの改善 / Enhancing performance profiling for Ruby
osyoyu
1
410
Android開発者のための Kotlin Multiplatform入門
ntaro
0
190
ぼっちを避けて楽しむためのアノテコノテ / Various Tips and Tricks to Avoid Loneliness and Have Fun
nrslib
3
1.7k
継続的な活動で築く地方エンジニアの道
myamashii
2
350
feature環境をGitHub ActionsとCloudFormationでいい感じに管理する
nealle
2
310
リハビリmruby
kishima
1
160
DDDを志して3年経ったら「DDDの皮を被ったクリーンアーキテクチャ」になった話【デブサミ2024夏】
texmeijin
1
620
英語
s_shimotori
1
220
Featured
See All Featured
jQuery: Nuts, Bolts and Bling
dougneiner
61
7.4k
Java REST API Framework Comparison - PWX 2021
mraible
PRO
20
7.2k
Navigating Team Friction
lara
181
13k
From Idea to $5000 a Month in 5 Months
shpigford
377
46k
Testing 201, or: Great Expectations
jmmastey
33
6.9k
Robots, Beer and Maslow
schacon
PRO
157
8.1k
Docker and Python
trallard
37
2.9k
Reflections from 52 weeks, 52 projects
jeffersonlam
346
19k
Principles of Awesome APIs and How to Build Them.
keavy
124
16k
Imperfection Machines: The Place of Print at Facebook
scottboms
262
13k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
502
140k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
18
1.2k
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