I\'ve written the following piece of code in my nodeJS/Expressjs server:
app.post(\'/settings\', function(req, res){ var myData = { a: req.param(\'a\
Jup, you need to send an answer back, the simplest would be
res.send(200);
Inside the callback handler of writeFile.
writeFile
The 200 is a HTTP status code, so you could even vary that in case of failure:
if (err) { res.send(500); } else { res.send(200); }