Forum Discussion
BenConrad_10265
May 27, 2011Nimbostratus
Can a custom HTTP monitor work with a JSON response?
Hi,
My Devs have created a health check page on our Tst web servers that returns a JSON response.
HTTP/1.1 200 OK (application/json)
So, a couple of questions/comments:...
BenConrad_10265
Jun 01, 2011Nimbostratus
Hi Aaron,
So my Devs say changing the response is not going to happen, I'm going to need to go the HEX route.
Using Wireshark, I sniffed the health check coming from the LTM on the web server, I see the response going back to the LTM self IP as 10 bytes of data representing:
{"d":true} , this equates to 7b 22 64 22 3a 74 72 75 65 7d
To make things easy for my initial test I'm just going to look for "true" which is 74727565
So I thought my receive string should be:
\x74\x72\x75\x65
But that is not matching.
I'm running :
BIG-IP 9.4.5 Build 1049.10 Final
Any thoughts?
Ben
- PSPKJan 31, 2018Nimbostratus
How did you take the tcpdump
Appreciate if you can provide the command here
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects