xsawyerx/metacpan-api — Issue #8: better error reporting please?
Author: wchristian
Created: 2011-12-22 18:53:05+00:00
State: open

This request ends up being broken, which might be ok, or not. I don't know because the error just tells me the request failed.

my $result = MetaCPAN::API->new->post(
'/release/_search',
{
"query" => {
"match_all" => {},
"range" => { "release.date" => { "from" => "2011-12-20T00:00:00", "to" => "2011-12-22T00:00:00" } },
"size" => 100,
},
"fields" => [ "release.name", "release.date" ]
}
);

Maybe make it a bit more detailed please? :)