You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the SCM Manager Webhook page, I can currently input the URL with HTTP method, but no headers such as api keys that would be required by e.g. Fisheye and other APIs. Because of this, I have to use other hook methods, such as curl commands.
Issue description
In the SCM Manager Webhook page, I can currently input the URL with HTTP method, but no headers such as api keys that would be required by e.g. Fisheye and other APIs. Because of this, I have to use other hook methods, such as curl commands.
For example, see:
https://confluence.atlassian.com/fisheye/configuring-commit-hooks-960155647.html
Feature Request
Problem to be solved
I would like to be able to add custom headers to the requests sent by the webhook.
Proposed solution
Support for adding/removing custom headers (key-value pairs) should be added to the webhook page (js React files) so that they would be passed on to the request that is sent in the class:
https://github.com/scm-manager/scm-webhook-plugin/blob/develop/src/main/java/sonia/scm/webhook/impl/AhcWebHookHttpClient.java
The text was updated successfully, but these errors were encountered: