Hi,
I've been using a Perl script to download OpenAIP airspaces for a number of countries an combine them into one openAIR (Extended) format. For some reason the script fails with the error message "403 Forbidden"
Here is a piece of my Perl code:
#Create a user agent object
my $ua = LWP::UserAgent->new(
ssl_opts => {
SSL_verify_mode => SSL_VERIFY_NONE(),
verify_hostname => 0
}
);
$ua->agent('Mozilla/5.0');
I'm using a newly generated apiKey.
Perhaps I'm missing some essential header, request, or something???
So does anybody have an idea whats wrong?
Can somebody supply an example of a working Perl script?