This commit is contained in:
parent
415b4ba640
commit
4ce60bccfb
|
@ -9,10 +9,10 @@ export class GeneralInfoRoutes extends CommonRoutesConfig {
|
||||||
configureRoutes() {
|
configureRoutes() {
|
||||||
this.app.route(`/dhbw-service/generalInfo`)
|
this.app.route(`/dhbw-service/generalInfo`)
|
||||||
.get((req: express.Request, res: express.Response) => {
|
.get((req: express.Request, res: express.Response) => {
|
||||||
res.status(200).send(`GET generalInfo`);
|
res.status(200).send(`GET generalInfo v2`);
|
||||||
})
|
})
|
||||||
.post((req: express.Request, res: express.Response) => {
|
.post((req: express.Request, res: express.Response) => {
|
||||||
res.status(200).send(`POST generalInfo`);
|
res.status(200).send(`POST generalInfo v2`);
|
||||||
});
|
});
|
||||||
|
|
||||||
return this.app;
|
return this.app;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user