Plack::Middleware::JSONP - Wraps JSON response in JSONP if callback parameter is specified
Plack::Middleware::JSONP wraps JSON response, which has Content-Type value either text/javascript or application/json as a JSONP response which is specified with the callback query parameter.
text/javascript
application/json
callback
Tatsuhiko Miyagawa
Plack
To install Plack, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Plack
CPAN shell
perl -MCPAN -e shell install Plack
For more information on module installation, please visit the detailed CPAN module installation guide.