The current endpoint config. Will be default
unless you're using multiple user types.
The email address of the user trying to sign up.
The password of the user trying to sign up.
Should match the password
field.
The URL that the email confirmation link should lead back to. This field will be automatically filled out by this framework.
--
{
"email": "test@test.com",
"password": "secret123",
"password_confirmation": "secret123",
"confirm_success_url": "https://redux-auth-demo.herokuapp.com/"
}
--
None. The API won't care about any headers for this request.
A json object containing the following key.
Will always be "success"
.
--
{
"status": "success"
}
--
None. The client won't care about any headers for this response.
--
This will contain the response status, and an array of any errors that the server encountered in processing the request.
Will always be "error"
.
An object containing keys for each field that has errors. The values of each key will be an array of errors for the given field.
--
{
status: "error",
errors: {
password_confirmation: ["doesn't match Password"],
email: ["is not an email"]
}
}
--
None. The client won't care about any headers for this response.