mbperl@perl.apache.org
Betreff:
Re: AW: embperl and JSON
Thank You.
How can this be set for a single embperl .epl file?
I only need to process JSON in one file and leave the fdat processing normal
for the hundreds of other files.
Thank You,
~Donavon
On 4
18:44
*An:* Frank Wesemann
*Cc:* embperl@perl.apache.org
*Betreff:* Re: embperl and JSON
Hello and Thank You for the reply.
From the embperl documentation: " (Embperl uses CGI.pm internally to
process forms encoded with multipart/form-data.)"
Does embperl convert "Content-Type: a
data on your
own
Regards
Gerald
Von:
Donavon [mailto:d...@mycopanet.com]
Gesendet:
Donnerstag, 2. April 2015 18:44
An:
Frank Wesemann
Cc:
embperl@perl.apache.org
Betreff:
Re: embperl and JSON
Hello and Thank
Hello and Thank You for the reply.
From the embperl documentation: " (Embperl uses CGI.pm internally to
process forms encoded with multipart/form-data.)"
Does embperl convert "Content-Type: application/json" to
"multipart/form-data"?
or
Does embperl also use CGI.pm to populate %fdat?
In
This is more a problem of CGI.pm ( which Embperl uses under the hood ).
http://stackoverflow.com/questions/19610312/perl-cgi-passing-variable-in-post-with-json
may help you.
2015-03-30 18:58 GMT+02:00 Donavon :
> Hello.
>
> I am creating an ajax call to an embperl script and I need assistance in
Hello.
I am creating an ajax call to an embperl script and I need assistance in
getting the script to work with json data sent with "application/json"
It works when I send data via javascript with:
request.setRequestHeader("Content-Type",
"application/x-www-form-urlencoded");
request.sen