mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-03-31 02:34:28 +00:00
11 lines
261 B
TypeScript
11 lines
261 B
TypeScript
import express = require('express');
|
|
import xmlparser = require('express-xml-bodyparser');
|
|
|
|
const app: express.Express = express();
|
|
|
|
app.use(xmlparser());
|
|
|
|
app.post("/auth", xmlparser({explicitArray: false}), (req, res, next) => {
|
|
res.send("Success!");
|
|
});
|