Question: This is Javascript question... node.js Make a server.js file all callback functions must be written in the new ES6 Arrow Function Match the GET
This is Javascript question... node.js
Make a server.js file
all callback functions must be written in the new ES6 "Arrow Function"
- Match the "GET" route "/student" and return a JSON formatted string: {message: "all students"}. Additionally, this route will support optional queries:
- "/studentList?pro=A" which returns a JSON formatted string: {message: A}
- "/studentList?sch=T" which returns a JSON formatted string: {message: T }
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
