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

Webhook & Mailhook

Webhook & Mailhook

Introduce concept of webhook and mailhook and how it can be used in web application development. Provide examples from GitHub, PayPal, and Mailgun.

Leong Hean Hong

January 02, 2016
Tweet

More Decks by Leong Hean Hong

Other Decks in Programming

Transcript

  1. Agenda • What Is Webhook? • Webhook Example • Why

    Webhook? • What Is Mailhook? • Mailhook Example • Why Mailhook?
  2. What Is Webhook? • “User defined HTTP callbacks” 1. System

    triggers events 2. User provides callback URL for event of interest 3. When event of interest is triggered, user gets notified via HTTP request to provided URL
  3. Tip For Software Development • Use RequestBin to study data

    been sent in HTTP callbacks RequestBin - http://requestb.in/