hookdeck-cli icon indicating copy to clipboard operation
hookdeck-cli copied to clipboard

Define custom HTTP methods via CLI

Open evenfrost opened this issue 6 months ago • 3 comments

Hello,

I didn't find the information on how to use custom HTTP methods with Hookdeck CLI (e.g, GET). Is it possible?

evenfrost avatar Jul 21 '25 13:07 evenfrost

Hey @evenfrost it is, although you need to configure that on the destination itself within Hookdeck.

https://hookdeck.com/docs/destinations#edit-a-destination

Custom HTTP Method: To customize the HTTP method, select the desired method in the Custom HTTP Method dropdown.

alexbouchardd avatar Jul 21 '25 13:07 alexbouchardd

@alexbouchardd As I see, this is more of a feature of Hookdeck Dashboard, and it would be handy to have such an option for Hookdeck CLI to, for example, configure a local proxy.

Moreover, when I try to create a new connection and add a destination for localhost, Hookdeck itself suggests I need to use CLI:

Image

It would be great to be able to use e.g., hookdeck listen 3000 --allowed-http-methods=GET,POST or/and provide the values in the config.toml file like this:

allowed_http_methods = [ "GET", "POST" ]

evenfrost avatar Jul 21 '25 13:07 evenfrost

@evenfrost Got it, valid feedback. Just to clarify here, your destination type should be CLI

alexbouchardd avatar Jul 21 '25 13:07 alexbouchardd