App-HTTPTinyUtils
view release on metacpan or search on metacpan
script/http-tiny-retry view on Meta::CPAN
Pass attributes to HTTP::Tiny constructor.
=item B<--content>=I<s>
(No description)
=item B<--delete>
Shortcut for --method DELETE.
See C<--method>.
=item B<--get>
Shortcut for --method GET.
See C<--method>.
=item B<--head>
Shortcut for --method HEAD.
See C<--method>.
=item B<--header>=I<s>%
(No description)
Each value is a name-value pair, use I<key=value> syntax. Can be specified multiple times.
=item B<--headers-json>=I<s>
See C<--header>.
=item B<--ignore-errors>, B<-i>
Ignore errors.
Normally, when given multiple URLs, the utility will exit after the first
non-success response. With C<ignore_errors> set to true, will just log the error
and continue. Will return with the last error response.
=item B<--method>=I<s>
Default value:
"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>
Number of retries.
See C<--attributes>.
=item B<--retry-delay>=I<s>
Retry delay.
See C<--attributes>.
=item B<--url>=I<s@>*
(No description)
Can also be specified as the 1st command-line argument and onwards.
Can be specified multiple times.
=item B<--urls-json>=I<s>
See C<--url>.
Can also be specified as the 1st command-line argument and onwards.
=back
=head2 Logging options
=over
=item B<--debug>
Shortcut for --log-level=debug.
=item B<--log-level>=I<s>
Set log level.
By default, these log levels are available (in order of increasing level of
importance, from least important to most): C<trace>, C<debug>, C<info>,
C<warn>/C<warning>, C<error>, C<fatal>. By default, the level is usually set to
C<warn>, which means that log statements with level C<info> and less important
levels will not be shown. To increase verbosity, choose C<info>, C<debug>, or
C<trace>.
For more details on log level and logging, as well as how new logging levels can
be defined or existing ones modified, see L<Log::ger>.
( run in 0.496 second using v1.01-cache-2.11-cpan-39bf76dae61 )