my $req = HTTP::Request->new(GET => $endpoint, Accept => 'application/xml');