From 5de450dd9077b5d30a2821d6228e625d19de44f3 Mon Sep 17 00:00:00 2001 From: Phil Leggetter Date: Wed, 2 Oct 2024 21:57:55 +0100 Subject: [PATCH 1/2] chore: add multi-source example --- README.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/README.md b/README.md index 5bb24b6..f231ba0 100644 --- a/README.md +++ b/README.md @@ -133,6 +133,29 @@ Inventory Service forwarding to /webhooks/shopify/inventory Orders Service forwarding to /webhooks/shopify/orders +⣾ Getting ready... + +``` + +#### Listen to multiple sources + +`source-alia` can be a comma-separated list of source names (for example, `stripe,shopify,twilio`) or `'*'` (with quotes) to listen to all sources. + +```sh-session +$ hookdeck listen 3000 '*' + +👉 Inspect and replay events: https://dashboard.hookdeck.com/cli/events + +Sources +🔌 stripe URL: https://events.hookdeck.com/e/src_DAjaFWyyZXsFdZrTOKpuHn01 +🔌 shopify URL: https://events.hookdeck.com/e/src_DAjaFWyyZXsFdZrTOKpuHn02 +🔌 twilio URL: https://events.hookdeck.com/e/src_DAjaFWyyZXsFdZrTOKpuHn03 + +Connections +stripe -> cli-stripe forwarding to /webhooks/stripe +shopify -> cli-shopify forwarding to /webhooks/shopify +twilio -> cli-twilio forwarding to /webhooks/twilio + ⣾ Getting ready... ``` From 45a762275995540ffe5cd6be30829957116aa27c Mon Sep 17 00:00:00 2001 From: Phil Leggetter Date: Wed, 2 Oct 2024 22:02:26 +0100 Subject: [PATCH 2/2] chore: fix typo --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f231ba0..69805be 100644 --- a/README.md +++ b/README.md @@ -139,7 +139,7 @@ Orders Service forwarding to /webhooks/shopify/orders #### Listen to multiple sources -`source-alia` can be a comma-separated list of source names (for example, `stripe,shopify,twilio`) or `'*'` (with quotes) to listen to all sources. +`source-alias` can be a comma-separated list of source names (for example, `stripe,shopify,twilio`) or `'*'` (with quotes) to listen to all sources. ```sh-session $ hookdeck listen 3000 '*'