working on XML structure - dummy payload is completed and API call === 200
This commit is contained in:
@@ -1,12 +1,10 @@
|
||||
// routes/dataRoutes.js
|
||||
import express from "express";
|
||||
import { itemLookup } from "../controllers/dataController.js"; // Adjust the import path according to your project structure
|
||||
import { itemLookup } from "../controllers/dataController.js";
|
||||
|
||||
const router = express.Router();
|
||||
|
||||
// Use the itemLookup function from dataController for the GET request to '/item-lookup'
|
||||
router.get("/item-lookup", itemLookup);
|
||||
|
||||
// You can add more data-related routes here in the future
|
||||
|
||||
export default router;
|
||||
|
||||
Reference in New Issue
Block a user