Bummer! This is just a preview. You need to be signed in with an account to view the entire instruction.
Instruction
Test Validation Rules in Postman
Let's test our POST
/api/users
route validation rules! 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, and select "raw" and "JSON (application/json) f...