in reply to curl request using LWP::UserAgent

There are so many things that do not match between the curl call and your LWP::UserAgent code that this is hard to diagnose.

I recommend you first make the two identical. Things to check are:

  1. The attempt to add a Content-Type header is not even valid Perl
  2. URL that curl uses and the URL you use ($reqUri)
  3. Data that gets POSTed between curl and your code