HTTP Integration with Perl

I’m beginning to suspect my super power is searching …

From the CGI module’s docs,

If POSTed data is not of type application/x-www-form-urlencoded or multipart/form-data, then the POSTed data will not be processed, but instead be returned as-is in a parameter named POSTDATA. To retrieve it, use code like this:

my $data = $query->param('POSTDATA');

I think this is a direct analog to file(‘php://input’) which is exactly what I use in my PHP scripts for TTN