[Xymon] Multiple http headers

Patrick Nixon pnixon at gmail.com
Tue Nov 8 19:01:35 CET 2016


Hey all,
 I'm attempted to pass two headers along with the http request.   I found
httphdr which appears to be what I want to use.

This is the hosts entry as it stands now.
(two lines
0.0.0.0 apiserver # noconn auto https://apiserver/api/status
httphdr="X-app-key: 00000000000
X-app-id: 1111111"

I also tried
0.0.0.0 apiserver # noconn auto https://apiserver/api/status
httphdr="X-app-key: 00000000000, X-app-id: 1111111"

When I run this from the command line it works as expected
curl -H "X-app-id: 1111111" -H "X-app-key: 0000000000"
https://apiserver/api/status

Suggestions on what to tweak to make this funcitonal?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20161108/707869e6/attachment.html>


More information about the Xymon mailing list