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.
As noted from previous post:
This has been changed recently. Now cgi_process_data() is called on any POST data, not only xml. Please ask support for the updated version. http://www.keil.com/support/man/docs/rlarm/rlarm_cgi_process_data.htm
So - have you asked support for the updated version?
I have not ask for updated Keil Middle ware. I have updated my Keil version 5 components which fetch update components over internet from within Keil IDE.
Is there separate process to get manual update from Keil then Kindly let me know how I can get update?
I do have license.
Don't you think Keil's message indicates that they haven't officially released that new version yet? So you can't get it by just retrieving the most recent released version.
"Is there separate process to get manual update from Keil then Kindly let me know how I can get update?"
How about by please asking Keil support for the updated version? Or exactly what do you think Keil staff means when they write "Please ask support for the updated version."???
Thanks for your information.
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.