How to send files to ontap s3 path?

Viewed 31

I wanted to send txt file to ontap s3 path using Perl code.

my $http = HTTP::Tiny->new;

my $response = $http->post_multipart( 'ontap s3 path', {
    file => {
        filename => $file_name,
        content  => $data,
    }
} );

Is this right?

0 Answers
Related