Plain HTML integration

The simplest example: a regular HTML form, no JavaScript. The browser handles the POST for you.

<form action="https://api.farvane.com/api/v1/submit" method="POST">
  <input type="hidden" name="access_key" value="YOUR_ACCESS_KEY_HERE">

  <!-- Honeypot anti-spam: debe quedar oculto y vacío -->
  <input type="checkbox" name="botcheck" style="display: none" tabindex="-1" autocomplete="off">

  <label>Nombre
    <input type="text" name="name" required>
  </label>
  <label>Email
    <input type="email" name="email" required>
  </label>
  <label>Mensaje
    <textarea name="message" required></textarea>
  </label>

  <button type="submit">Enviar</button>
</form>

The hidden botcheck field is the honeypot: it must exist in the form but always arrive empty. Bots that fill in every field automatically fill this one too, and Farvane discards that submission as spam. The access_key field identifies which form in your account this submission belongs to.

Quick test with curl

curl -X POST https://api.farvane.com/api/v1/submit -H "Accept: application/json" -F "access_key=YOUR_ACCESS_KEY_HERE" -F "botcheck=" -F "name=Ada Lovelace" -F "email=ada@example.com" -F "message=Hola desde curl"

Next step: create your account and copy your real access_key.