contact-form/test.sh
2020-02-01 18:40:02 +01:00

8 lines
No EOL
243 B
Bash
Executable file

#!/bin/bash
contact="https://api.your-server.com/v1/contact"
curl -v -X POST ${contact} -H "Content-Type: application/json" \
-d '{"email": "test@example.com", "name": "John Izzo", "subject": "feedback", "message": "Production Light!"}'