AuthController_register
POST
/auth/register
const url = 'https://example.com/auth/register';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"email":"hello@example.com","password":"example","name":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/auth/register \ --header 'Content-Type: application/json' \ --data '{ "email": "hello@example.com", "password": "example", "name": "example" }'Request Bodyrequired
Sección titulada «Request Bodyrequired»Media typeapplication/json
object
email
required
string format: email
password
required
string
name
required
string
Examplegenerated
{ "email": "hello@example.com", "password": "example", "name": "example"}