aboutsummaryrefslogtreecommitdiff
path: root/api/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'api/index.js')
-rwxr-xr-xapi/index.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/api/index.js b/api/index.js
index 33f3402..cb84d25 100755
--- a/api/index.js
+++ b/api/index.js
@@ -77,6 +77,7 @@ app.use(session({
function genericaddtest(req,res){
console.table(req.body)
var myobj = req.body;
+ res.set('Content-Type', 'application/json');
res.send(myobj);
}
// POST data