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\...
nathe
Jun 04, 2012Cirrocumulus
Hey
I'm not a HTTP RFC expert but this does look a bit confusing here cos the first post, as Hamish recognises, has a content-length header but no content, but the second post does have content but no content-length header. AFAIK HTTP1.1 needs a content-length header if there's a body to the POST.
Perhaps in your second post just remove the body to see if the monitor then works, or at least what error is returned.
Also, in your second post your body terminates with \r\n\r\n - have you tried without this?
Hope this helps,
N
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