This repository has been archived on 2024-04-05. You can view files and clone it, but cannot push or open issues/pull-requests.
score-tracker/routes/submit.js

15 lines
292 B
JavaScript
Raw Normal View History

2021-09-30 20:49:44 +00:00
var express = require('express');
var router = express.Router();
/* GET submit page. */
router.get('/', function(req, res, next) {
2021-09-30 20:55:01 +00:00
res.send('Nothing to send');
});
/* POST submit page. */
router.post('/', function(req, res, next) {
res.send('Score sent');
2021-09-30 20:49:44 +00:00
});
module.exports = router;