Closed Sandeep-1-Kumar closed 8 months ago
This issue is to resolve an API request to resource : page Required URL parameters : Id (as Number)
Added Code : Added Package "page" containing "controller.mjs" and "model.mjs" Changed Code : updated "app.mjs" adding route to resource "page"
steps a reviewer can take to experience the impact of changes: -npm install (ignore if already did) -npm start
URL test (postman/browser) : GET : http://localhost:3001/page/123 No id case : GET : http://localhost:3001/page/ Number Check : http://localhost:3001/page/potato
This issue is to resolve an API request to resource : page Required URL parameters : Id (as Number)
Added Code : Added Package "page" containing "controller.mjs" and "model.mjs" Changed Code : updated "app.mjs" adding route to resource "page"
steps a reviewer can take to experience the impact of changes: -npm install (ignore if already did) -npm start
Listening on 3001
URL test (postman/browser) : GET : http://localhost:3001/page/123 No id case : GET : http://localhost:3001/page/ Number Check : http://localhost:3001/page/potato