cURL / Mailing Lists / curl-library / Single Mail

curl-library

Empty HTTP POST request

From: Max Burke <maxburke_at_gmail.com>
Date: Thu, 12 Jan 2012 08:02:12 -0800

Hello!

I'm setting up a POST request with only a handful of fields and I've
verified that the data pointers are valid, however it doesn't look
like anything is actually being sent. Both Wireshark and the server
logs show that the POST request is empty.

Here is the code I'm using to setup and initiate the transfer:
http://pastebin.com/g3fU1CqZ

Both the server logs and wireshark confirm that the post request is
empty, so I'm assuming it's a problem with how I'm using the library.
Does anything look obviously wrong?

Cheers,
-Max
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2012-01-12