As an example, POSTing to a web server with the -v argument:
curl -v http://testserver.com/post -d "firstname=john&lastname=doe"
And the output
> POST /post HTTP/1.1
> User-Agent: curl/7.19.7 (universal-apple-darwin10.0) libcurl/7.19.7 OpenSSL/0.9.8l zlib/1.2.3
> Host: testserver.com
> Accept: */*
> Content-Length: 28
> Content-Type: application/x-www-form-urlencoded
>
< HTTP/1.1 200 OK
(etc)
There is no mention of the data that I posted.
Is there an option in cURL to display the string "firstname=john&lastname=doe" in the output?
Note: Obviously the string I want is in the command I executed, but there are several other post options such as --form and --data-ascii etc. I'd like to see the raw data being sent to the server.