There is a very simple CGI server on Python. He is sent a request by the client (JS):
var json = JSON.stringigy({foo: "bar", baz: [0, 1, 2]}); var xhr = new XmlHttpRequest(); xhr.open("POST", "/cgi-bin/script.py", true); xhr.setRequestHeader("Content-type", "application/json; charset=utf-8"); xhr.send(json); script.py should get this JSON, parse and, preferably, send to the client (by changing, of course). I apologize in advance for the Nuba question, I have broken Google all day, have not found anything.