NodeJs Dev Dojo
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Task 1: Problem Statement: | |
Run a nodejs server and create GET, POST, DELETE, PUT endpoints. | |
AC: | |
1. Should run on 3000 port | |
2. Should accept GET Request /hello with name param and it should return output `hello <name>`. Example: /hello?name=pasu | |
3. Should accept POST Request /new with name param (body) and it should return output `hello <name> - you have got new request` | |
3. Should accept PUT Request /update with name param (body) and it should return output `hello <name> - you have got have got new update request` | |
3. Should accept DELETE Request /delete with name param (body) and it should return output `hello <name> you have got new delete request` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment