Forum Discussion
Erik_27939
Nimbostratus
Apr 01, 2014HTTP Post
I am trying to create an HTTP Post monitor and i have the following 2 snipits that work:
1:
$url = "http://[pool_mem_ip]:[pool_mem_port]/search";
$options = array(
'http' => array(
'meth...
Kevin_Stewart
Employee
Apr 02, 2014Two thoughts off the top of my head:
-
It's very likely that your Ajax and cURL scripts are auto-injecting the Content-Length header. If you put a -v on your cURL statement, you should see all of the send and receive headers.
-
I don't think this matters as much, but since you're not being explicit in the cURL statement, it's probably inserting an application/x-www-form-urlencoded mime type header. I guess I would check via your -v cURL test to make sure that mime type isn't required.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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