Run the server
node index.js
Try to run the following request URL in the browser or Postman
This returns the random single fullname
http://localhost:5001/name
This returns 10 random names with the count
query parameter.
http://localhost:5001/name?count=10