POST
/users
curl \
--request POST '/api/users' \
--header "Content-Type: application/json" \
--data '{"user":{"username":"string","email":"string","password":"string"}}'
Request examples
{
"user": {
"username": "string",
"email": "string",
"password": "string"
}
}
Response examples (201)
{
"user": {
"bio": "I work at State Farm.",
"email": "jake@jake.jake",
"image": null,
"token": "jwt.token.here",
"username": "jake"
}
}
Response examples (422)
{
"errors": {
"body": [
"string"
]
}
}