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
Explore Data Validation Types
Required value validation rules only scratch the surface of what's possible with data validation. Other common validation types include:
Data type validation
Range and constraint validation
Consistency check validation
Data Type Validation
Sometimes string values need to be converted to another data type. For example, numbers or dates that are sent to the server via the request body as str...