App-HTTPTinyUtils
view release on metacpan or search on metacpan
lib/App/HTTPTinyUtils.pm view on Meta::CPAN
slurpy => 1,
},
method => {
schema => ['str*', match=>qr/\A[A-Z]+\z/],
default => 'GET',
cmdline_aliases => {
delete => {summary => 'Shortcut for --method DELETE', is_flag=>1, code=>sub { $_[0]{method} = 'DELETE' } },
get => {summary => 'Shortcut for --method GET' , is_flag=>1, code=>sub { $_[0]{method} = 'GET' } },
head => {summary => 'Shortcut for --method HEAD' , is_flag=>1, code=>sub { $_[0]{method} = 'HEAD' } },
post => {summary => 'Shortcut for --method POST' , is_flag=>1, code=>sub { $_[0]{method} = 'POST' } },
put => {summary => 'Shortcut for --method PUT' , is_flag=>1, code=>sub { $_[0]{method} = 'PUT' } },
},
},
attributes => {
'x.name.is_plural' => 1,
'x.name.singular' => 'attribute',
summary => 'Pass attributes to HTTP::Tiny constructor',
schema => ['hash*', each_key => 'str*'],
},
headers => {
schema => ['hash*', of=>'str*'],
script/http-tiny view on Meta::CPAN
"GET"
=item B<--post>
Shortcut for --method POST.
See C<--method>.
=item B<--put>
Shortcut for --method PUT.
See C<--method>.
=item B<--raw>
(No description)
=item B<--url>=I<s@>*
script/http-tiny-cache view on Meta::CPAN
"GET"
=item B<--post>
Shortcut for --method POST.
See C<--method>.
=item B<--put>
Shortcut for --method PUT.
See C<--method>.
=item B<--raw>
(No description)
=item B<--url>=I<s@>*
script/http-tiny-customretry view on Meta::CPAN
"GET"
=item B<--post>
Shortcut for --method POST.
See C<--method>.
=item B<--put>
Shortcut for --method PUT.
See C<--method>.
=item B<--raw>
(No description)
=item B<--retry-strategy>=I<s>
script/http-tiny-plugin view on Meta::CPAN
"GET"
=item B<--post>
Shortcut for --method POST.
See C<--method>.
=item B<--put>
Shortcut for --method PUT.
See C<--method>.
=item B<--raw>
(No description)
=item B<--url>=I<s@>*
script/http-tiny-plugin-every view on Meta::CPAN
"GET"
=item B<--post>
Shortcut for --method POST.
See C<--method>.
=item B<--put>
Shortcut for --method PUT.
See C<--method>.
=item B<--raw>
(No description)
=item B<--url>=I<s@>*
script/http-tiny-retry view on Meta::CPAN
"GET"
=item B<--post>
Shortcut for --method POST.
See C<--method>.
=item B<--put>
Shortcut for --method PUT.
See C<--method>.
=item B<--raw>
(No description)
=item B<--retries>=I<s>
script/http-tinyish view on Meta::CPAN
"GET"
=item B<--post>
Shortcut for --method POST.
See C<--method>.
=item B<--put>
Shortcut for --method PUT.
See C<--method>.
=item B<--raw>
(No description)
=item B<--url>=I<s@>*
( run in 0.375 second using v1.01-cache-2.11-cpan-4e96b696675 )