You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
riskcloudrun/routes/index.js

14 lines
290 B

var express = require('express');
var router = express.Router();
/* GET home page. */
router.get('/', function(req, res, next) {
res.json({'name':'test'})
});
router.post('/', function(req, res, next) {
console.info(req.body)
res.json({'name':'test'})
});
module.exports = router;