1const express = require('express');
2const app = express();
3
4app.use(express.json());
5
6app.post('*', (req, res) => {
7 req.body; // The json object sent to the server
8});
9const port = 3000;
10app.listen(port, () => console.log(`Listening on port ${port}.`));
11