cURL
curl --request POST \ --url https://api.example.com/auth/signup \ --header 'Content-Type: application/json' \ --data ' { "email": "<string>", "password": "<string>" } '
{ "message": "<string>", "user": { "id": "<string>", "email": "<string>", "role": "<string>" } }
Show user properties
curl -X POST https://api.yourapp.com/auth/signup \ -H "Content-Type: application/json" \ -d '{ "email": "[email protected]", "password": "securepassword123" }'
{ "message": "User created successfully", "user": { "id": "550e8400-e29b-41d4-a716-446655440000", "email": "[email protected]", "role": "user" } }