Bummer! This is just a preview. You need to be signed in with an account to view the entire instruction.
Instruction
Further Testing the New User Account Route
When we initially tested the POST
/api/users
route, the request's body content looked similar to the following object:
{
"name": "Joe Smith",
"email": "joe@smith.com"
}
But what happens if we supply a name
value only?
{
"name": "Anwar Montasir"
}
We still receive a 201 Created
HTTP status code from the server:
![Postman N...