POST
/api/v1/users/signup
curl \
--request POST 'http://localhost:8080/api/v1/users/signup' \
--header "Content-Type: application/json" \
--data '{"firstName":"Robert","lastName":"Smith","email":"abc@xyz.com","password":"password","confirmPassword":"password"}'
Request examples
{
"firstName": "Robert",
"lastName": "Smith",
"email": "abc@xyz.com",
"password": "password",
"confirmPassword": "password"
}
Response examples (401)
{
"error": {
"code": "string",
"message": "string",
"target": "string",
"details": [
{
"code": "string",
"message": "string",
"target": "string"
}
]
}
}
Response examples (404)
{
"error": {
"code": "string",
"message": "string",
"target": "string",
"details": [
{
"code": "string",
"message": "string",
"target": "string"
}
]
}
}
Response examples (500)
{
"error": {
"code": "string",
"message": "string",
"target": "string",
"details": [
{
"code": "string",
"message": "string",
"target": "string"
}
]
}
}
Response examples (400)
{
"error": {
"code": "string",
"message": "string",
"target": "string",
"details": [
{
"code": "string",
"message": "string",
"target": "string"
}
]
}
}
Response examples (201)
{
"id": "string",
"firstName": "string",
"lastName": "string",
"email": "string"
}