product | Updated Aug 15, 2021
Published Jul 1, 2021
Difference Between HTTP View and CLI View
In this guide, we will look at both HTTP View and CLI View. Hookdeck offers these views to help you monitor and search webhook events, whether they are delivered to a destination with an HTTP URL or a local server via the CLI. You can toggle between them using the dropdown on the left sidebar.
What is HTTP View?
HTTP View focuses on displaying webhooks events delivered to destinations with an HTTP URL.
For example, in the situation below, we would only see webhooks events sent to the staging connection.
What is CLI View?
CLI View focuses on displaying webhook events delivered to a local server via the CLI. You can only receive events using the CLI when the destination is either set to
CLI only, or you have the
allow CLI connections option checked.
Allow CLI connection
Following the previous example, if we set up the CLI to listen to GitHub, we would see events delivered to:
- /deploy from the Deploy connection; and
- /staging from the Staging connection, if the
Allow CLI connectionsoption is enabled.
How to use HTTP View tutorial
Create a connection with an HTTP destination
Send a webhook (HTTP POST) using Postman
Inspect webhook event on HTTP View
How to use CLI View tutorial
Create a connection
The first step is to create a connectionwith a destination that has "Allow CLI connections" checked.
Connect to the CLI
Use the following command:
hookdeck listen PORT. Learn how to install and connect to the CLI here. Then, select "example" as the source.
If the CLI was successfully connected, you should see the CLI status as "Connected" in the UI left sidebar.
Learn how to filter webhook events based on payload data using Hookdeck.
Send a webhook (HTTP POST)
Next we are going to send a webhook using Postman.
Inspect webhook event on CLI View
By toggling between HTTP View and CLI View, you can navigate through your webhooks that have been delivered to either an HTTP or CLI destination.
Try Hookdeck Today