Description
Register a new user
First you need to register yourself with the chat API location. For this you will to send information to the API through a POST form. Until now you almost always used a GET request.
You need to send 3 properties to the server with the POST request:
name Naam van de gebruiker
email Users emailaddress (must be unique)
password User password (will be hashed in the system)


API URL
https://mbo-sd.nl/api/chat/register
Returns
status: true or false
message: message for the API
errors: Array with error messages (empty array if status is true)
user-data: object with user information:
id: id of the user in the system
bearertoken: user secret to use in communications with the API
HINT: You can store the bearertoken in the localStorage of the user.
Back to chat API overview  ||  Back to readme index pages