zengyicheng 2 vuotta sitten
vanhempi
commit
e707acf5d5
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      ssti.js

+ 1 - 1
ssti.js

@@ -71,7 +71,7 @@ router.post('/getTest', function(req, res, next) {
 
         res.on('data', (data) => {
             console.log(data.toString());
-            res.end("");
+            res.end(JSON.stringify(data))
         });
     });