Summary Table
Categories |
Total Count |
PII |
0 |
URL |
0 |
DNS |
0 |
EKL |
0 |
IP |
0 |
PORT |
0 |
VsID |
0 |
CF |
0 |
AI |
0 |
VPD |
0 |
PL |
0 |
Other |
0 |
File Content
const express = require('express');
const router = express.Router();
const rest = require('../../rest/rest');
const authGuard = require('./../../auth/authGuardMiddleware');
router.post('/', authGuard, (req, res) => {
rest
.postResource(
process.env.END_POINT_BASE_URI + process.env.CLAIM_SEARCH,
req.body
)
.then(data => {
res.status(data.response.statusCode).json(data.responseBody);
});
});
module.exports = router;