Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature request: custom headers for request #1

Open
c-nv-s opened this issue Jul 14, 2023 · 4 comments
Open

feature request: custom headers for request #1

c-nv-s opened this issue Jul 14, 2023 · 4 comments
Assignees

Comments

@c-nv-s
Copy link

c-nv-s commented Jul 14, 2023

Would it be possible to add the ability to set custom headers and their values for the webhook requests or is this project abandoned?
This would be very useful for setting Authorization or X-API-Key headers for APIs that need authorization.

@c-nv-s
Copy link
Author

c-nv-s commented Jul 14, 2023

being able to set the API key via an environment variable and referencing it from the front end would also help avoid duplication.

@ciminelli
Copy link
Member

@c-nv-s we've thought of doing this before, I like the idea a lot. I'll look into getting this done.

@ciminelli ciminelli self-assigned this Jul 18, 2023
@c-nv-s
Copy link
Author

c-nv-s commented Aug 19, 2023

any update on this?

@ciminelli
Copy link
Member

Hey @c-nv-s, still no progress as I haven't been able to find time. In the mean time, you could update the HTTP post handler directly to add in your custom headers based on the action: https://github.com/tableflowhq/db-webhooks/blob/main/backend/go/services/action_handler.go#L200

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants