in reply to Re^2: curl http post using LWP::Curl
in thread curl http post using LWP::Curl

Have you tried debugging it? What does get sent?

When dealing with HTTP (well, any kind of TCP) problems, usually Wireshark or tcpdump can tell you what exactly goes over the wire. Usually that's a first hint as to what goes wrong where.

Note that your seeming addition of headers is not supported by the documentation in Net::Curl.

Replies are listed 'Best First'.
Re^4: curl http post using LWP::Curl
by wanderedinn (Sexton) on Jun 07, 2016 at 16:39 UTC

    Not my box, so I can't use wireshark or tcpdump. Odd that Net::Curl doesn't support headers and does not complain. I think maybe I shouldn't be providing form data at all. It's not a form. I'll research this a bit more.