Categories | Question details Back To List | ||
How to pass data to the Server using POST instead of GET method Hi. Can u please guide me how to pass data to the server using POST method instead of passing it to the query String Up till now i pass data like mygrid.loadXML(\"./TableObjectTreeGenerator?" +GET_DATA+"="+getDataName() +"\"); But i want to pass it by POST now.It is good if you provide good example of the same. Answer posted by Support on Jan 08, 2008 03:42 While inner functionality allows to send data by POST, there is no public API for such functionality. By using inner functionality - it can be done in next way grid.xmlLoader.loadXML("./TableObjectTreeGenerator?",true,GET_DATA+"="+getDataName()); Second parameter - force POST loading The third parameter - string which will be sent as POST value Please beware that such workaround will not work for SmartRendering mode. |