cURL / Mailing Lists / curl-users / Single Mail

curl-users

POST data and apache request

From: David Nickerson <dnickerson_at_fiberlink.com>
Date: Fri, 8 Nov 2013 10:50:01 -0500

I'm writing a custom apache module which is a filter. I'm using version 2.2.22. I don't THINK the code is important as it hasn't done anything with the apache data structures where my problem occurs.

Apache sends the defined input filter function (among other things) an ap_filter_t which has a field request_rec. This request_rec has a field args. args is the parameters that were sent with the POST ie: "param1=value1&param2=value2". My problem is that args is NULL.

I'm sending a test request using curl with the below format. Perhaps there's a problem with my test request?

curl --data "Cmd=Sync&User=username&DeviceId=myDeviceId HTTP/1.1 Host=hostname; " http://myHostName/Microsoft-Server-ActiveSync<http://10.2.15.75/Microsoft-Server-ActiveSync>

________________________________
Fiberlink Disclaimer: The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2013-11-08