in reply to Re^2: how to post an xml using REST::Client
in thread how to post an xml using REST::Client

Hi 1nickt,

My filename is sample.xml, since the curl command has downloadable_file as @sample.xml, it was formatted like that by the previous Perl monks user who responded to my post. if i specify the downloadable_file => 'sample.xml', does it transfer the file RESTfully to the destination.

  • Comment on Re^3: how to post an xml using REST::Client

Replies are listed 'Best First'.
Re^4: how to post an xml using REST::Client
by 1nickt (Canon) on Apr 08, 2016 at 20:46 UTC

    I can't tell if your last sentence is a statement or a question, but either way you should begin with a *new* simple script that attempts to use the module you have chosen, to do its most simple task. Forget all about your data and just try to write a script that will POST a very simplified, generic request to a server. Then go from there.


    The way forward always starts with a minimal test.