Files
services/examples/user/sendVerificationEmail/curl/sendVerificationEmail.sh

11 lines
452 B
Bash
Executable File

curl "http://localhost:8080/user/SendVerificationEmail" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $MICRO_API_TOKEN" \
-d '{
"email": "joe@example.com",
"failureRedirectUrl": "https://m3o.com/verification-failed",
"fromName": "Awesome Dot Com",
"redirectUrl": "https://m3o.com",
"subject": "Email verification",
"textContent": "Hi there,\n\nPlease verify your email by clicking this link: $micro_verification_link"
}'