http://qs1969.pair.com?node_id=1154976


in reply to Re^2: Sending a text file using POST
in thread Sending a text file using POST

I don't know. Maybe the documentation of the endpoint you're talking to has more information on what it expects?

Replies are listed 'Best First'.
Re^4: Sending a text file using POST
by Anonymous Monk on Feb 11, 2016 at 16:31 UTC
    I even added this line before the "header":
    $req->content_type('multipart/form-data');
    And still an error; multi-part form data parse error.