The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Plack::Middleware::DebugRequestParams - debug request parameters (inspired by Catalyst)

SYNOPSIS

$ plackup -e 'enable "DebugRequestParams"' app.psgi
$ curl -F foo=bar -F baz=foobar http://localhost:5000/
.--------------------.
| Parameter | Value  |
+-----------+--------+
| baz       | foobar |
| foo       | bar    |
'-----------+--------'

OPTIONS

ignore_path
use Plack::Builder;

builder {
    enable "DebugRequestParams",
        ignore_path => qr{^/(images|js|css)/},
    $app;
};

LICENSE

Copyright (C) Hiroki Honda.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

AUTHOR

Hiroki Honda <cside.story@gmail.com>