POST
/user
curl \
--request POST 'http://localhost:3000/user' \
--header "Content-Type: application/json" \
--data '{"email":"bob.fellow@gmail.com","lastName":"Fellow","firstName":"Bob","dateOfBirth":"1996-08-24"}'
Request example
{
"email": "bob.fellow@gmail.com",
"lastName": "Fellow",
"firstName": "Bob",
"dateOfBirth": "1996-08-24"
}
Response examples (200)
{
"id": 12,
"email": "bob.fellow@gmail.com",
"lastName": "Fellow",
"firstName": "Bob",
"createDate": "2020-11-18",
"dateOfBirth": "1996-08-24",
"emailVerified": false
}