Add a custom header to a connection
You can send custom header strings with each communication from Vera to the target system.
Note: Vera can't validate the information in custom headers and failure to follow HTTP Header standards may result in unexpected behavior. Only use this feature if you know what you're doing.
Add a Custom Header
To add any custom headers needed for the connection, follow these steps:
-
Select a connection that needs a custom header and click the Edit link.
-
Expand the Custom Headers (0) section
-
Click Add Custom Header.
-
Enter the Name and Value.
If you need to add multiple custom headers, simply repeat steps 3 and 4.
-
Click Save Changes.
You can verify that the custom headers are being sent by enabling Debug logging and retrieving the appropriate messages log (eg. vera-server-messages-jira-YYYYMMDD.txt for a Jira connection).
2024-11-18 13:42:28.498 -06:00 [INF] REQUEST: GET "http://jira.server/jira/rest/api/2/issue/11300/transitions" [MsgId:24181b96-fd1d-4fd3-a560-e2797d9981e0]
Default Headers:
- Accept: "application/json"
- User-Agent: "Vera"
- Header1: "Header1"
- Header2: "Header2"
- Authorization: "Basic xxxx"