Helth Monitor http HTTP/1.1 400 Bad Request
Hello all,
I have built the following monitor:
GET /lexsoft/sgbplus/#default:0 HTTP/1.1\r\nHost: test.test\r\nConnection: Close\r\n\r\n
as return code I expect a 200 OK but get a 400 back
HTTP/1.1 400 Bad RequestDate: Wed, 14 Jul 2021 05:32:30 GMT
Server: Apache/2.4.6 (Red Hat Enterprise Linux)
Content-Length: 226
Connection: close
Content-Type: text/html; charset=iso-8859-1
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>400 Bad Request</title>
</head><body>
<h1>Bad Request</h1>
<p>Your browser sent a request that this server could not understand.<br />
</p>
</body></html>
If I do the following CURL command I get my 200 back
curl -v http://test.test/lexsoft/sgbplus/#default:0
* Trying test.test...
* Connected to test.test (x.y) port 80 (#0)
> GET /lexsoft/sgbplus/ HTTP/1.1
> Host: test.test
> User-Agent: curl/7.47.1
> Accept: */*
>
< HTTP/1.1 200 OK
What should my monitor look like to get the desired result?
Thanks for your help