SanjayP
Jul 17, 2019Nacreous
HTTPS health monitor with POST
Tried all patterns for below POST call, but all are failing. Server is SaaS hosted and need to monitor with F5 in cloud broker. Since all traffic is encrypted and do not have access to server cert key so can't decrypt the packets. Can anyone help to find out correct send string. Curl command works fine.
# curl --tlsv1.2 -k -v -H 'Content-Type: application/json' -H 'Accept: application/json' -H 'Host: www.dummy.com' -d '{"data": {}}' https://1.1.1.1/Status/IsAlive
Tried with below send and receive string -
SEND: POST /Status/IsAlive HTTP/1.1\r\nHost: www.dummy.com\r\nAccept: application/json\r\nConnection: Close\r\nContent-Type: application\json\r\n\r\n{\"data\":\{}\}
Receive: allSystemsOk