API-Octopart
view release on metacpan - search on metacpan
view release on metacpan or search on metacpan
lib/API/Octopart.pm view on Meta::CPAN
}
);
}
my $req;
my $response;
my $tries = 0;
while ($tries < 3)
{
$req = HTTP::Request->new('POST' => 'https://octopart.com/api/v4/endpoint',
HTTP::Headers->new(
'Host' => 'octopart.com',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
'Accept-Encoding' => 'gzip, deflate',
'token' => $self->{token},
'DNT' => 1,
'Origin' => 'https://octopart.com',
),
encode_json( { query => $q }));
view all matches for this distributionview release on metacpan - search on metacpan
( run in 0.540 second using v1.00-cache-2.02-grep-82fe00e-cpan-4673cadbf75 )