This endpoint is used to register a new user.
None
{
"email": "string",
"password": "string"
}None
{
"success": true,
"message": "Registration successful"
}Example:
| Code | Description |
|---|---|
| 201 | Created |
| 400 | Bad Request |
| 409 | Conflict |
| 429 | Too Many Requests |
| 500 | Internal Server Error |
token(optional): JWT token used for authentication if the user successfully registered.