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
190
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
550
JavaScript Apps Go Intl - GIDS Live 2021
philnash
2
350
You're on Mute! WebRTC and our Lives on Screen - GIDS Live 2021
philnash
1
360
Better API DX with a CLI - APIdays Jakarta
philnash
0
430
The trouble with webhooks - at Apidays Live Hong Kong
philnash
2
270
Four steps from JavaScript to TypeScript
philnash
0
470
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.6k
The trouble with webhooks - at APIdays Singapore
philnash
0
390
What's going on with Project Fugu? at DevTalks Reimagined
philnash
0
610
Other Decks in Programming
See All in Programming
RubyとGoでゼロから作る証券システム: 高信頼性が求められるシステムのコードの外側にある設計と運用のリアル
free_world21
0
170
nilとは何か 〜interfaceの構造とnil!=nilから理解する〜
kuro_kurorrr
3
1.6k
New in Go 1.26 Implementing go fix in product development
sunecosuri
0
220
SourceGeneratorのマーカー属性問題について
htkym
0
120
izumin5210のプロポーザルのネタ探し #tskaigi_msup
izumin5210
1
500
AI駆動開発の本音 〜Claude Code並列開発で見えたエンジニアの新しい役割〜
hisuzuya
4
460
受け入れテスト駆動開発(ATDD)×AI駆動開発 AI時代のATDDの取り組み方を考える
kztakasaki
2
510
DevinとClaude Code、SREの現場で使い倒してみた件
karia
1
860
What Spring Developers Should Know About Jakarta EE
ivargrimstad
0
160
15年目のiOSアプリを1から作り直す技術
teakun
0
580
encoding/json/v2のUnmarshalはこう変わった:内部実装で見る設計改善
kurakura0916
0
210
Rで始めるML・LLM活用入門
wakamatsu_takumu
0
140
Featured
See All Featured
Building a A Zero-Code AI SEO Workflow
portentint
PRO
0
360
Product Roadmaps are Hard
iamctodd
PRO
55
12k
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
380
Bioeconomy Workshop: Dr. Julius Ecuru, Opportunities for a Bioeconomy in West Africa
akademiya2063
PRO
1
68
Technical Leadership for Architectural Decision Making
baasie
3
270
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
55
3.3k
GraphQLの誤解/rethinking-graphql
sonatard
75
11k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.3k
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
0
210
Design in an AI World
tapps
0
160
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
122
21k
VelocityConf: Rendering Performance Case Studies
addyosmani
333
24k
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