HTTP monitoring for Disable string

Hello,

There is a file on a server on port 443 that has a file called health-check.html. The content is “up” so I’ve configured the receive string as “up”. I can get to the page by going via a web browser: https://server1.corp.com/content/health-check.html

I have configured my http monitor’s send string as:

Code
    get / https://server1.corp.com/content/health-check.html HTTP/1.1

I get a 400 bad request. What is wrong with my syntax? Or does it have something to do with the fact that it is on 443?

HTTP 1.1 request requires a Host header. See the example below:

GET /index.html HTTP/1.1\r\nHost: host.domain.com\r\nConnection: Close\r\n

For more information check out:

Hey, thanks for your help. I’ve read the link you posted and was able to re-arrange my syntax to make it work! “GET /content/health-check.html HTTP/1.1\r\nHost: server1.corp.com\r\n\r\n”