Perl CGI processing application json data

via a POST or PUT request from a client.

the server or receiving side would do as listed in this link:

http://stackoverflow.com/questions/19610312/perl-cgi-passing-variable-in-post-with-json

From CGI,

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');

#programming #perl

From JR's : articles
65 words - 509 chars
created on - #
source - versions

Related articles
Run perl script as a daemon - Nov 14, 2014
Probably my favorite Web apps to use and create - Jan 15, 2014
Looping through Perl data types - Nov 25, 2013
Perl and OAuth - Dec 03, 2013
Perl Dancer Framework - Dec 19, 2013
more >>



A     A     A     A     A

© 2013-2017 JotHut - Online notebook

current date: Feb 21, 2025 - 1:06 p.m. EST