Click here to Skip to main content
15,895,142 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am trying to send a ajax request to a shell file on my server. But i dont seem to get access to that shell file. i.e. the shell file is not getting executed through Aajax request but gets executed through terminal.
Here is a code :

C#
var Settings;
    if(!Settings && typeof XMLHttpRequest != "undefined")
    {
      Settings = new XMLHttpRequest();

    }
    Settings.open("POST","Check.sh",true);
    Settings.send();


I am using a uhttp server for my device.
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900