Hi,
I am using AJAX JSON over HTTP to send using CGI. It is working. Does Keil web server CGX supports JSON RPC.
Currently I have to Post JSON using CGX using
$.ajax({ type: "POST", url: "xmlHttp.cgx", data: post_data, contentType: "text/xml", datatype : "text", success: function(data) {
}, error: function (xhr, ajaxOptions, thrownError) {
} });
contentType is xml. If I set JSON/application then I do not get cgi_process_data call.
How I can trigger get cgi_process_data code == 5 because I need to return large JSON response which does not fit into Ethernet/TCP/IP single packet. It is more than 1400 bytes.
www.keil.com/.../rlarm_cgi_process_data.htm
Do I need to call AJAX with special parameters.