<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Ritesh Gupta</title>
    <description>The latest articles on DEV Community by Ritesh Gupta (@riteshmaagadh).</description>
    <link>https://dev.to/riteshmaagadh</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1730367%2Fa607bea5-ff1a-4994-98c6-aa3e6f87d0f6.jpg</url>
      <title>DEV Community: Ritesh Gupta</title>
      <link>https://dev.to/riteshmaagadh</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/riteshmaagadh"/>
    <language>en</language>
    <item>
      <title>I thought receiving HTML form submissions was the easy part. Spam proved me wrong.</title>
      <dc:creator>Ritesh Gupta</dc:creator>
      <pubDate>Fri, 17 Jul 2026 10:18:10 +0000</pubDate>
      <link>https://dev.to/riteshmaagadh/i-thought-receiving-html-form-submissions-was-the-easy-part-spam-proved-me-wrong-2o88</link>
      <guid>https://dev.to/riteshmaagadh/i-thought-receiving-html-form-submissions-was-the-easy-part-spam-proved-me-wrong-2o88</guid>
      <description>&lt;p&gt;Like many developers, I assumed a contact form was a weekend project.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight html"&gt;&lt;code&gt;&lt;span class="nt"&gt;&amp;lt;form&lt;/span&gt; &lt;span class="na"&gt;action=&lt;/span&gt;&lt;span class="s"&gt;"..."&lt;/span&gt; &lt;span class="na"&gt;method=&lt;/span&gt;&lt;span class="s"&gt;"POST"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Point it to an endpoint, save the data, send an email... done.&lt;/p&gt;

&lt;p&gt;Except it wasn't.&lt;/p&gt;

&lt;p&gt;Within hours of exposing the endpoint publicly, the form started receiving:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Bot submissions&lt;/li&gt;
&lt;li&gt;Disposable email addresses&lt;/li&gt;
&lt;li&gt;Random promotional messages&lt;/li&gt;
&lt;li&gt;Empty payloads&lt;/li&gt;
&lt;li&gt;Thousands of repeated requests&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The surprising part wasn't that bots existed.&lt;/p&gt;

&lt;p&gt;It was how &lt;em&gt;quickly&lt;/em&gt; they found a brand-new endpoint.&lt;/p&gt;

&lt;p&gt;That made me rethink what a "simple form backend" actually needs.&lt;/p&gt;

&lt;p&gt;Instead of just accepting POST requests, I ended up adding things like:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Cloudflare Turnstile verification&lt;/li&gt;
&lt;li&gt;Honeypot protection&lt;/li&gt;
&lt;li&gt;Disposable email detection&lt;/li&gt;
&lt;li&gt;Rate limiting&lt;/li&gt;
&lt;li&gt;Spam scoring&lt;/li&gt;
&lt;li&gt;Signed webhooks&lt;/li&gt;
&lt;li&gt;Google Sheets sync&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The biggest lesson was this:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Receiving submissions is easy. Receiving clean submissions is the hard part.&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;I also realized many developers don't actually want another backend to maintain. They just want their HTML, React, Next.js or Astro form to work without spinning up an API.&lt;/p&gt;

&lt;p&gt;That's why I built &lt;strong&gt;Formz&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;👉 &lt;a href="https://useformz.com" rel="noopener noreferrer"&gt;https://useformz.com&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;It's a lightweight form backend that lets you receive form submissions, filter spam, sync with Google Sheets, and trigger webhooks without building your own backend.&lt;/p&gt;

&lt;p&gt;I'm still improving it, so I'd genuinely love your feedback.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What's the worst spam attack you've seen on a contact form?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Did you build your own solution, or are you using something like Formspree, Web3Forms, Getform, or another service?&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>backend</category>
      <category>api</category>
    </item>
  </channel>
</rss>
