@glenn wrote:
Hello, I have a healthcheck that requires a POST of xml in the body. I can run the below curl command and it works.. but the question is how do I code this into the haproxy.cfg file?
curl -v mywebserver/wfc/XmlService -H "Content-Type: application/xml" -d
"<?xml version='1.0'?><Kronos_WFC version='1.0'><Request Object='System' Action='Logon' Username='myuser' Password='mypass'/><Request Action='RetrieveResponseTime' retrieveFor='pingWithDB'><HeartBeat/></Request><Request Object='System' Action='Logoff'/></Kronos_WFC>"
Posts: 2
Participants: 1