06-Feb-2018 02:29
Hi guys, I have one trouble when I'm trying to monitor the 200 OK status code of one HTTP service.
Here is the Send string of the HTTP monitor: HEAD HTTP/1.[01]\r\nHost:domain.com\r\n\r\n
Receive string: HTTP/1.[01] 200
Could someone tell me if the monitor is written like it shoud be?
Thanks !
06-Feb-2018
02:41
- last edited on
05-Jun-2023
13:17
by
JimmyPackets
Send String might be:
GET / HTTP/1.1\r\nhost:domain.com \r\nconnection: close\r\n\r\n
Receive String:
200 OK
06-Feb-2018
02:45
- last edited on
02-Jun-2023
10:00
by
JimmyPackets
Hello, I think the resource (/status for example) is missing. Example of HEAD monitor (send string):
HEAD /infor HTTP/1.1\r\nHost: \r\nConnection: Close\r\n
Receive string
200 OK
06-Feb-2018
03:20
- last edited on
05-Jun-2023
13:17
by
JimmyPackets
We implemented it like this.
send string:
GET /exampleURL HTTP/1.0\r\n\r\n
receive string:
HTTP/1\.(0|1) (200)
However I try to force our devolopers to create intelligent healthcheck websites with proper response strings. Much easier and quicker for everyone.