17-Jul-2019 00:43
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
17-Jul-2019
12:19
- last edited on
01-Jun-2023
14:54
by
JimmyPackets
Hello,
So, any chance to you try that with "Content-Length" header?
POST /Status/IsAlive HTTP/1.1\r\nHost: www.dummy.com\r\nAccept: application/json\r\nConnection: Close\r\nContent-Type: application/json\r\nContent-Length: 11\r\n\r\n{\"data\":{}}
What BIG-IP version are you testing?
Regards.
08-Mar-2022 09:29
Just had the same problem, this was resolved by the Content-Length header as suggested...
Thank you very much!