blob: bbf6d16fc51b71dfcd7dec764b938d80314be6db [file] [log] [blame]
#!/usr/bin/perl -w
print "Content-type: text/plain\n\n";
if ($ENV{'REQUEST_METHOD'} eq "POST") {
read(STDIN, $request, $ENV{'CONTENT_LENGTH'}) || die "Could not get query\n";
print $request;
} else {
print "Wrong method: " . $ENV{'REQUEST_METHOD'} . "\n";
}