Attempts to save file in golang to no avail

This commit is contained in:
Scott
2016-08-08 15:49:35 +10:00
parent e85876e273
commit 9bfffe1a37
4 changed files with 58 additions and 4 deletions

View File

@@ -40,11 +40,11 @@ app.get('/config/all', function (req, res) {
app.post('/config/all/save', function(req, res) {
requestify.post('http://localhost:9050/config/all/save', {
data: req.body
Data: req.body
})
.then(function(response) {
console.log(response);
res.send(response);
res.send(response.body);
});
});