Files
services/examples/email/send/curl/sendEmail.sh

8 lines
300 B
Bash
Executable File

curl "http://localhost:8080/email/Send" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $MICRO_API_TOKEN" \
-d '{
"from": "Awesome Dot Com",
"subject": "Email verification",
"textBody": "Hi there,\n\nPlease verify your email by clicking this link: $micro_verification_link"
}'