mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-17 13:24:56 +00:00
Generate clients (#206)
This commit is contained in:
11
examples/user/sendVerificationEmail/curl/sendVerificationEmail.sh
Executable file
11
examples/user/sendVerificationEmail/curl/sendVerificationEmail.sh
Executable file
@@ -0,0 +1,11 @@
|
||||
curl "https://api.m3o.com/v1/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"
|
||||
}'
|
||||
Reference in New Issue
Block a user