Net::Easypost::Request
version 0.21
Net::Easypost::Request->new
A user agent attribute. Defaults to Mojo::UserAgent.
The Easypost service endpoint. Defaults to 'https://api.easypost.com/v2'
Given an operation, constructs a valid Easypost URL using the specified EASYPOST_API_KEY
This method uses the user_agent 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.
user_agent
This method uses the user_agent 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>, Hunter McMillen <mcmillhj@gmail.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.