Either use Wireshark or look at the Curl documentation. On a quick glance, either --verbose or --trace make Curl dump everything it sends or receives.
Again, you will have to learn Curl and HTTP in either case, so now is a good time to start with that.
As I now found out, I already said the same, even more verbose, in Re: CURL and Perl (it rhymes!). So maybe re-reading that thread helps.
In reply to Re^3: XPOST syntax in WWW::Curl
by Corion
in thread XPOST syntax in WWW::Curl
by Steve_BZ
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |