hookdeck / hookdeck-cli

Alternative to ngrok for localhost asynchronous web development (e.g. webhooks). No account required.
https://hookdeck.com?ref=github-hookdeck-cli
Apache License 2.0
276 stars 9 forks source link

Unable to target localhost with basic authentication #39

Open airblade opened 2 years ago

airblade commented 2 years ago

I have a Rails app running locally. It uses Action Mailbox which receives webhooks from mail systems such as Postmark. Action Mailbox requires incoming webhooks to use a URL with basic authentication like this:

https://actionmailbox:PASSWORD@example.com/rails/action_mailbox/postmark/inbound_emails

When running locally, the URL needs to be:

http://actionmailbox:PASSWORD@0.0.0.0:3000/rails/action_mailbox/postmark/inbound_emails

As far as I can tell the Hookdeck CLI does not support this. Please could you add it?