This is the backend for the contact form. Please use the /send-email route to send a message.
Method: POST
Expected Body (JSON format):
{
"name": "Your Name",
"email": "your.email@example.com",
"subject": "Subject of the message",
"message": "Your message here"
}
Example request:
curl -X POST http://localhost:8080/send-email \
-H "Content-Type: application/json" \
-d '{"name": "John Doe", "email": "john.doe@example.com", "subject": "Hello", "message": "I want to get in touch!"}'