or download this
# Save cookie
my ( $cookie ) = ($result->header('Set-Cookie') =~ m((PHPSESSID=\w+);)
+);
...
GET => "https://$option->{hostname}/storiqone-backend/api/v1/archi
+ve/" );
$request->content_type('application/json');
$request->header('Cookie' => $cookie);