getParamters.js 404 B

12345678910111213141516
  1. console.log("Get argument test");
  2. sendJSONResp(JSON.stringify([foo,bar]));
  3. /*
  4. //The following paramters can be passed in using POST paramters as follow
  5. function testRunScript(){
  6. var script = "Dummy/backend/getParamters.js";
  7. $.ajax({
  8. url: "../system/ajgi/interface?script=" + script,
  9. data: {foo: "Hello", bar: "World"},
  10. method: "POST",
  11. success: function(data){
  12. console.log(data);
  13. }
  14. })
  15. }
  16. */