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
180
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
530
JavaScript Apps Go Intl - GIDS Live 2021
philnash
2
330
You're on Mute! WebRTC and our Lives on Screen - GIDS Live 2021
philnash
1
340
Better API DX with a CLI - APIdays Jakarta
philnash
0
410
The trouble with webhooks - at Apidays Live Hong Kong
philnash
2
250
Four steps from JavaScript to TypeScript
philnash
0
450
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.5k
The trouble with webhooks - at APIdays Singapore
philnash
0
360
What's going on with Project Fugu? at DevTalks Reimagined
philnash
0
560
Other Decks in Programming
See All in Programming
Temporal Knowledge Graphで作る! 時間変化するナレッジを扱うAI Agentの世界
po3rin
5
1.1k
NIKKEI Tech Talk#38
cipepser
0
350
SODA - FACT BOOK(JP)
sodainc
1
9.1k
Introducing RemoteCompose: break your UI out of the app sandbox.
camaelon
2
290
React Nativeならぬ"Vue Native"が実現するかも?_新世代マルチプラットフォーム開発フレームワークのLynxとLynxのVue.js対応を追ってみよう_Vue Lynx
yut0naga1_fa
2
1.9k
スマホから Youtube Shortsを見られないようにする
lemolatoon
27
34k
TransformerからMCPまで(現代AIを理解するための羅針盤)
mickey_kubo
7
5.8k
ボトムアップの生成AI活用を推進する社内AIエージェント開発
aku11i
0
1.4k
3年ぶりにコードを書いた元CTOが Claude Codeと30分でMVPを作った話
maikokojima
0
720
スキーマ駆動で、Zod OpenAPI Honoによる、API開発するために、Hono Takibiというライブラリを作っている
nakita628
0
330
Google Opal解体新書
mickey_kubo
3
100
Webサーバーサイド言語としてのRustについて
kouyuume
1
5k
Featured
See All Featured
How to Think Like a Performance Engineer
csswizardry
27
2.2k
Raft: Consensus for Rubyists
vanstee
140
7.2k
Docker and Python
trallard
46
3.6k
YesSQL, Process and Tooling at Scale
rocio
174
15k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
2.5k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
37
2.6k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Gamification - CAS2011
davidbonilla
81
5.5k
Automating Front-end Workflow
addyosmani
1371
200k
A Modern Web Designer's Workflow
chriscoyier
697
190k
GitHub's CSS Performance
jonrohan
1032
470k
Making Projects Easy
brettharned
120
6.4k
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