I develop an application with jQuery Mobile and Ganimede+Progress as the
server side. The application interchange JSON between both, It work very
fast and stable, the problem appear when I want to receive a JSON from de
mobile, I cant read the data by a POST call.
To simplify,
I'm trying to get a POST with Ajax and JS. The POST call is
thanks for the kind words. As far as I remember, POST support in ganimede was only implemented for form and multi-part (file upload)... application/json didn't even existed at the time :)
There will be a node.js port of ganimede available soon, albeit not released as open-source but this will be more up to date and offer more support for REST and alike.
Cheers,
Marian
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Marian Edu & all, ganimede is amazing!!!.
I develop an application with jQuery Mobile and Ganimede+Progress as the
server side. The application interchange JSON between both, It work very
fast and stable, the problem appear when I want to receive a JSON from de
mobile, I cant read the data by a POST call.
To simplify,
I'm trying to get a POST with Ajax and JS. The POST call is
$.ajax({
console.log( data);
console.log( ex);
}
My problem is in the server side, I cant'n read the data,
To tested and compare I installed WebSpeed and with the following code WS
respond as expected and Ganimede not, any thought about this?
{src/web2/wrap-cgi.i}
define var c as char no-undo.
c = get-field("data") .
output-content-type ("application/json":U).
{&OUT} WEB-CONTEXT:FORM-INPUT.
Several tested that I did ( with Postman , Crome ) seems that Ganimede
didn't support POST, is that true?.
Thanks in advance, your work is amazing good.
Fernando.
Este mensaje no contiene virus ni malware porque la protección de avast! Antivirus está activa.
http://www.avast.com
Hi Fernando,
thanks for the kind words. As far as I remember, POST support in ganimede was only implemented for form and multi-part (file upload)... application/json didn't even existed at the time :)
There will be a node.js port of ganimede available soon, albeit not released as open-source but this will be more up to date and offer more support for REST and alike.
Cheers,
Marian