Our great sponsors
-
libcurl
A command line tool and library for transferring data with URL syntax, supporting DICT, FILE, FTP, FTPS, GOPHER, GOPHERS, HTTP, HTTPS, IMAP, IMAPS, LDAP, LDAPS, MQTT, POP3, POP3S, RTMP, RTMPS, RTSP, SCP, SFTP, SMB, SMBS, SMTP, SMTPS, TELNET, TFTP, WS and WSS. libcurl offers a myriad of powerful features
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
use strict; use warnings; use feature 'say'; use WWW::Mechanize; my $url = 'https://httpbin.org/headers'; my $mech = WWW::Mechanize->new; $mech->add_header("User-Agent" => "Internet Explorer/6.0"); $mech->add_header("api-key" => "Some API key"); $mech->get( $url ); #say $mech->status; #say '---'; #say $mech->dump_headers; #say '---'; say $mech->content;
I also tried curl: