mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-12 03:05:14 +00:00
11 lines
452 B
Bash
Executable File
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"
|
|
}' |