self-hosted

contact-form

A tiny PHP contact-form backend with honest spam defense · GitHub

Try it

Curl

TS=$(($(date +%s) - 10))
curl -X POST http://localhost:8000/submit \
  -H "Content-Type: application/json" \
  -d "{\"name\":\"Alice\",\"email\":\"alice@example.com\",\"subject\":\"Hello\",\"message\":\"This is a longer test message.\",\"_ts\":$TS}"

Spam defense

Routes