Net::Easypost::Request - Request role for Net::Easypost
version 0.09
A user agent attribute. Defaults to Mojo::UserAgent.
The Easypost service endpoint. Defaults to 'https://www.geteasypost.com/api'
This method uses the ua attribute to generate a form post request. It takes an endpoint URI fragment and the parameters to be sent. It returns JSON deserialized into Perl structures.
ua
This method uses the ua attribute to generate a GET request to an endpoint. It takes a complete endpoint URI as its input and returns a Mojo::Message::Response object.
Mark Allen <mrallen1@yahoo.com>
This software is copyright (c) 2012 by Mark Allen.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Net::Easypost, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::Easypost
CPAN shell
perl -MCPAN -e shell install Net::Easypost
For more information on module installation, please visit the detailed CPAN module installation guide.