Check Http with custom headers

Cloid Edition:

400 Bad Request

I added all my HTTP config in CheckMK, I added my custom headers in Post METHOD as, name: value.

But not working

you need to give more details.

What does your rule look like exactly?

What is your expected output?

What do you get instead?

screenshots help :slight_smile:

Hi, thanks!!

My custom header is: Ocp-Apim-Subscription-Key
and has a value: xxxxxxxx

HTTP WARNING: HTTP/1.1 404 Resource Not Found - 265 bytes in 0.105 second response time

Have you tried “Additional header lines” ?

From the command line, the option is -k

-k, --header=STRING
Any other tags to be sent in http header. Use multiple times for additional headers

I tried in Additional headers lines too, but maybe I don´t know how I need to type them there.

How can I set up it by the terminal?

–header=STRING?

I appreciate it!

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed. Contact an admin if you think this should be re-opened.