app.get('/yourapiroute', function(req, res) { · res.sendfile('./app/yourfile.json'); · // OR · res.json({ example: "this will return as json, the name parameter ...
確定! 回上一頁