diff options
| author | Joe Carstairs <65492573+Sycamost@users.noreply.github.com> | 2024-03-07 20:59:26 +0000 |
|---|---|---|
| committer | Joe Carstairs <65492573+Sycamost@users.noreply.github.com> | 2024-03-07 20:59:26 +0000 |
| commit | 9f44e87b092e9149c47466e4578f794fe4376524 (patch) | |
| tree | cab65045dac8cd99d48a225c731d09c4a000320b /src/app.js | |
| parent | 2b8fea0fd0b514b5ca4349185bf4dfb4455d5875 (diff) | |
Does stuff
Diffstat (limited to 'src/app.js')
| -rw-r--r-- | src/app.js | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -7,8 +7,10 @@ const app = express(); app.use(bodyParser.urlencoded({ extended: false })); app.post('/sms', (req, res) => { - const + /** @type {string} */ + const body = req.body; const twiml = new MessagingResponse(); + twiml.message(JSON.stringify(body)); res.type('text/xml').send(twiml.toString()); }); |
