-
-
28 Jun 2022 11:01:39 UTC
- Browse (raw)
- Changes
- How to Contribute
- Repository
- Issues
- Testers
- Kwalitee
Bus factor: 1- License: perl_5
- Perl: v5.6.0
- Activity
24 month- Tools
- Download (125.12KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
++ed by:3 non-PAUSE usersand 1 contributors- Jacques Deguest (jack@deguest.jp)
- Dependencies
- APR::Base64
- APR::Pool
- APR::Request::Apache2
- APR::Request::Cookie
- APR::Socket
- APR::UUID
- Apache2::Connection
- Apache2::Const
- Apache2::Log
- Apache2::Reload
- Apache2::Request
- Apache2::RequestIO
- Apache2::RequestRec
- Apache2::RequestUtil
- Apache2::Response
- Apache2::ServerUtil
- Apache2::SubRequest
- Compress::Raw::Zlib
- Cookie::Baker
- Crypt::AuthEnc::GCM
- Crypt::KeyWrap
- Crypt::Mac::HMAC
- Crypt::Misc
- Crypt::PK::ECC
- Crypt::PK::RSA
- Crypt::PRNG
- DateTime
- Devel::Confess
- Encode
- HTTP::AcceptLanguage
- IO::File
- JSON
- MIME::Base64
- Module::Generic
- Nice::Try
- Regexp::Common
- Scalar::Util
- URI
- URI::Escape
- URI::Query
- common::sense
- curry
- parent
- strict
- version
- and possibly others
- Reverse dependencies
- CPAN Testers List
- Dependency graph
Changes for version v0.6.3 - 2022-06-28
- Added method is_allowed() in Net::API::REST to check early on if an ip is allowed to access the REST api.
- Added documentation and added Apache constants to Net::API::REST::Status
- Added methods escape, unescape, uri_escape and uri_unescape in Net::API::REST::Response
- Added handlers to check allowance for various attributes, such as network, api access before calling endpoint code
- Added check for request content-type if provided against supported content-type. See <https://cheatsheetseries.owasp.org/cheatsheets/REST_Security_Cheat_Sheet.html>
- Added an option to set a size limit for payload sent to the server using the perl option Net_API_REST_MAX_SIZE in Apache configuration. See data method in Net::API::REST::Request.
- Minor improvement to accept array as object in Net::API::REST, Net::API::REST::Request and Net::API::REST::Response
- Improvement in print() in autoloading data-compressing library
- Added package Net::API::REST::RC to represent a return code and message
- Updated route() and routes() to check for method capability only using class ( $cl->can( $meth) ) rather than object
- Added methods parse_date, str2datetime, str2time, time2datetime, time2str pointing to their equivalent in Net::API::REST::DateTime for backward compatibility
Documentation
Endpoint object for Net::APi::RESTReturn Code Object for Net::APi::RESTApache2 Request Fields ObjectApache2 Request Upload ObjectModules
Framework for RESTful APIsCookie ObjectCookie Jar and cookie managementHTTP DateTime Manipulation and FormattingJSON Web Token (JWT, JWS, JWE) as defined by RFC7519, RFC7515, RFC7516utf8 compliant URI query string manipulationApache2 Incoming Request Access and ManipulationApache2 Outgoing Response Access and ManipulationApache2 Status CodesProvides
in lib/Net/API/REST.pmin lib/Net/API/REST.pmin lib/Net/API/REST/Request.pmin lib/Net/API/REST/Request.pmOther files
Module Install Instructions
To install Net::API::REST, copy and paste the appropriate command in to your terminal.
cpanm Net::API::REST
perl -MCPAN -e shell install Net::API::REST
For more information on module installation, please visit the detailed CPAN module installation guide.