Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Webhooks - The API strikes back

Webhooks - The API strikes back

These days many APIs are more than just simple REST services. Through WebHooks, APIs are talking back, giving us more information and prompting further action from our applications. But what is the best way to react to these demanding APIs?

We'll look at some services that use Webhooks, exploring reasons to use WebHooks and the emerging best practices. Then we'll look at the other side, implementing WebHook endpoints. Does consuming WebHooks make our application an API? What are the easiest ways to develop and test with WebHooks? We'll cover security, performance and standards all wrapped up with some live coded examples.

By the end we'll know how to handle anything an API can throw back at us.

Phil Nash

July 03, 2015
Tweet

More Decks by Phil Nash

Other Decks in Programming

Transcript

  1. Three episodes •  Webhooks - A New Hope •  The

    API Strikes Back •  Return of the Developer
  2. Webhooks everywhere •  Twilio •  GitHub •  Braintree •  MailChimp

    •  HipChat •  SendGrid •  DropBox •  Slack •  ...and many more
  3. Webhooks •  Use Webhooks instead of polling •  Use ngrok,

    or similar, for development •  Secure your Webhooks! •  Respond quickly to Webhooks •  Idempotence (idempotence, idempotence...)
  4. Help me! On a scale of 0 to 10, how

    likely is it that you would recommend this talk to a friend or colleague? (+48) 732 483 234
  5. Thanks! @philnash http://philna.sh [email protected] On a scale of 0 to

    10, how likely is it that you would recommend this talk to a friend or colleague? (+48) 732 483 234