Group
Extension

Matches 1

Dancer-Plugin-RPC-RESTISH ( A/AB/ABELTJE/Dancer-Plugin-RPC-RESTISH-1.01_01.tar.gz, ABELTJE, 2023; MetaCPAN )
Dancer-Plugin-RPC-RESTISH/lib/Dancer/Plugin/RPC/RESTISH.pm ( view source; MetaCPAN )
dle requests that have either a JSON body or no body
        my ($ct) = (split /;\s*/, request->content_type, 2);
        if (request->body && ($ct ne 'application/json')) {
            pass();
      
         return "";
        }

        content_type 'application/json';
        my $method_args = request->body
            ? from_json(request->body)
            : { };
        my $route_args = reque
 ", $response);
        }
        my $jsonise_options = {canonical => 1};
        if (config->{encoding} && config->{encoding} =~ m{^utf-?8$}i) {
            $jsonise_options->{utf8} = 1;
        }

 

Powered by Groonga
Maintained by Kenichi Ishigaki <ishigaki@cpan.org>. If you find anything, submit it on GitHub.