Define custom HTTP methods via CLI
Hello,
I didn't find the information on how to use custom HTTP methods with Hookdeck CLI (e.g, GET). Is it possible?
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 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:
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 Got it, valid feedback. Just to clarify here, your destination type should be CLI