NAME

Zapp::Task::Request - Make an HTTP Request

VERSION

version 0.001

DESCRIPTION

This task makes an HTTP request for a web site.

Output

is_success          - True if the response was successful
code                - The response code (like 200 or 404)
message             - The HTTP message (like "OK" or "Not Found")
json                - If the response was JSON, the decoded JSON structure
file                - If the response was a file, the path to the file
body                - If the response was anything else, the response body
headers             - The headers from the response
    content_type    - The Content-Type header

SEE ALSO

AUTHOR

Doug Bell <preaction@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2020 by Doug Bell.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.