Group
Extension

Matches 1

Plack-App-GitHub-WebHook ( V/VO/VOJ/Plack-App-GitHub-WebHook-0.9.tar.gz, VOJ, 2016; MetaCPAN )
Plack-App-GitHub-WebHook/lib/Plack/App/GitHub/WebHook.pm ( view source; MetaCPAN )
 Plack::Middleware::HTTPExceptions;
use Plack::Middleware::Access;
use Carp qw(croak);
use JSON qw(decode_json);
use Scalar::Util qw(blessed);

our $VERSION = '0.9';

our @GITHUB_IPS = (
    allow => 
 ) {
        $payload = $req->param('payload') || $req->content;
        $payload = eval { decode_json $payload };
    }

    if (!$payload) {
        return [400,['Content-Type'=>'text/plain','Conten
ION

This L<PSGI> application receives HTTP POST requests with body parameter
C<payload> set to a JSON object. The default use case is to receive 
L<GitHub WebHooks|http://developer.github.com/webhook

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