mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-12 19:25:16 +00:00
9 lines
285 B
Bash
Executable File
9 lines
285 B
Bash
Executable File
curl "http://localhost:8080/spam/Classify" \
|
|
-H "Content-Type: application/json" \
|
|
-H "Authorization: Bearer $MICRO_API_TOKEN" \
|
|
-d '{
|
|
"from": "noreply@m3o.com",
|
|
"subject": "Welcome",
|
|
"text_body": "Hi there,\n\nWelcome to M3O.\n\nThanks\nM3O team",
|
|
"to": "hello@example.com"
|
|
}' |