Bummer! This is just a preview. You need to be signed in with an account to view the entire instruction.
Well done!
You have completed REST API Validation with Express!
You have completed REST API Validation with Express!
Instruction
Test the Routes
Test the Create User Route
To test creating a new user account using the POST
/api/users
route, start the application by running npm start
from the command line, open Postman, and complete the following steps:
- Select the "POST" HTTP method in the drop-down list to the left of the URL field.
- Change the URL to "http://localhost:5000/api/users".
- Switch to the "Body" tab, a...