const router = require('express').Router(); router.get('/catalog-data', (request, response) => { response.send(require('./json/catalog-data/success.json')) }) router.get('/catalog-data', (request, response) => { response.send(require('./json/item-data/newsuccess.json')) }) module.exports = router;