-
-
Save AlexDaniel/53d478aed8fc02d2d0a14dcb83e8585b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env perl6 | |
use Cro::HTTP::Client; | |
my $url = ‘https://modules.perl6.org/search.json’; | |
my $resp = await Cro::HTTP::Client.get: $url, | |
headers => [ | |
User-Agent => ‘perl6 ecosystem unbitrot’, | |
], | |
; | |
my $x = await $resp.body; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment