npm install
node index.js
Replace JSON in data
folder and use the endpoint
http://localhost:7000/mock
http://localhost:7000/greetings
http://localhost:7000/delayed?delay=3000
Change value of delay according to use. No type check is or error handling is done. Please use valid integer
.
http://localhost:7000/error/500
http://localhost:7000/produce