Skip to content

Instantly share code, notes, and snippets.

@esobchenko
Created March 29, 2011 12:32
Show Gist options
  • Save esobchenko/892278 to your computer and use it in GitHub Desktop.
Save esobchenko/892278 to your computer and use it in GitHub Desktop.
#!/usr/bin/env perl
use strict;
use warnings;
use Mojolicious::Lite;
post '/' => sub {
my $self = shift;
$self->render_data($self->req->body, format => 'bin');
};
app->start;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment