curl --request POST \
--url https://api.myidvirtual.com/mail/welcome \
--header 'Content-Type: application/json' \
--data '
{
"email": "<string>",
"name": "<string>"
}
'{
"success": true,
"message": "<string>"
}Send a welcome email to a new user
curl --request POST \
--url https://api.myidvirtual.com/mail/welcome \
--header 'Content-Type: application/json' \
--data '
{
"email": "<string>",
"name": "<string>"
}
'{
"success": true,
"message": "<string>"
}curl -X POST "http://localhost:3333/mail/welcome" \
-H "Content-Type: application/json" \
-d '{
"email": "[email protected]",
"name": "John Doe"
}'
{
"success": true,
"message": "Welcome email sent successfully"
}