-
-
21 Sep 2016 16:16:39 UTC
- Distribution: HTTP-Throwable-JSONFactory
- Module version: 0.002
- Source (raw)
- Browse (raw)
- Changes
- Homepage
- How to Contribute
- Repository
- Issues (0)
- Testers (526 / 0 / 0)
- Kwalitee
Bus factor: 1- 85.71% Coverage
- License: perl_5
- Activity
24 month- Tools
- Download (14.94KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
and 1 contributors-
Matthew Horsfall
NAME
HTTP::Throwable::Role::JSONBody
VERSION
version 0.002
OVERVIEW
This role does two things - accepts an optional
payload
argument that should be anything you can pass to "encode_json" in JSON, and then encodes it as the body, specifying aContent-Type
ofapplication/json
. If nopayload
is provided, the body will be{}
.AUTHOR
Matthew Horsfall <wolfsage@gmail.com>
COPYRIGHT AND LICENSE
This software is copyright (c) 2016 by Matthew Horsfall.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
Module Install Instructions
To install HTTP::Throwable::JSONFactory, copy and paste the appropriate command in to your terminal.
cpanm HTTP::Throwable::JSONFactory
perl -MCPAN -e shell install HTTP::Throwable::JSONFactory
For more information on module installation, please visit the detailed CPAN module installation guide.