mojo-useragent Questions

1

Solved

I'm attempting use Mojo::UserAgent to verify the gzip compression (Content-Encoding) of an application. Unfortunately, it appears that this UA silently decodes the content and removes the Content-E...
Submit asked 18/1, 2021 at 22:15

2

How can I get access to JSON in a mojo response? $txn = $ua->post( $url, $headers, json => {json} ) What's the way to get the JSON response from the txn?
Yorktown asked 29/1, 2020 at 0:18

2

I wondering if something like the below could be possible to do with Mojo::UserAgent : let's say i have the below code : my $ua = Mojo::UserAgent->new; my $res = $ua->get('mojolicious.org/p...
Agone asked 10/9, 2018 at 8:54

1

Solved

I am trying to use the PUT method to upload a file using Mojo::UserAgent, the file may be large, instead of passing the file contents as scalar, is there any other way? This is what I have tried: ...
Edom asked 19/7, 2019 at 9:16
1

© 2022 - 2024 — McMap. All rights reserved.