Skip to content

Instantly share code, notes, and snippets.

@moznion
Created November 3, 2015 16:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save moznion/47323a8ae24736b28bfa to your computer and use it in GitHub Desktop.
Save moznion/47323a8ae24736b28bfa to your computer and use it in GitHub Desktop.
use v6;
my $s = IO::Socket::INET.new(:host<ecosystem-api.p6c.org>, :port(80));
$s.print("GET /projects.json HTTP/1.0\r\nHost: ecosystem-api.p6c.org\r\n\r\n");
my $got = $s.get;
say $got;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment