See this:
[Link: nodejs.org]And then see this:
[Link: w3schools.com]You can run the nodejs program on your PC which could parse request parameters and then write a file accordingly. The issue you may have is syncing between 2 processes as you will have 1 process reading a file and another writing a file. Not sure if you'd want to do something to "append" commands and then have a processor delete commands from the file that have been received and executed.