Forum Discussion
mhuss3y_61750
Jun 04, 2012Nimbostratus
HTTP POST Monitor
hi all, i'm stuck with on an issue constructing a HTTP monitor using a POST method. I've created the following monitor to make a POST request for XML content: POST /hello/ HTTP/1.1\r\...
mhuss3y_61750
Jun 05, 2012Nimbostratus
Thanks for all the replies!
In the end it was the Content-Length header causing the issue. I found the length by performing a capture and highlighting the body in Wireshark to get an approximation and then adjusting the length till I received the expected response for the monitor. I also noticed that when the Content-Length is excessive, the F5 loops around again on the request and appends x excess bytes to the end of the request - hence I think why there were two HTTP headers in the problematic request. This led me to work to reduce the Content-Length value.
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