Demo of REST API using NodeJs
GET request below url http://localhost:3000/api/courses/
GET request below url http://localhost:3000/api/courses/1
POST request below url http://localhost:3000/api/courses/ Json body { "name":"Course 10" }
PUT request below url http://localhost:3000/api/courses/1
Json body { "name":"Course One" }
DELETE request below url http://localhost:3000/api/courses/1