Menu

1 / 2

What's calling your Fastify API?

DEV Community: fastify·webdecoy·about 22 hours ago
#80QVwOCM
#devtofastify#devto#dev#fullscreen#request
Reading 0:00
15s threshold

A product endpoint can serve your frontend, a customer integration, and a scraper through the same URL. Your page analytics may only show the first of those.

Let's add request detection to a small Fastify API, watch a decoy request produce a verdict, and connect the results to a dashboard. We'll start in monitor mode so detection does not change the API's responses.

We build WebDecoy. This example uses its Fastify plugin and was prepared with AI assistance. It is request monitoring, separate from our FCaptcha project.

Build a small API

Use Node.js 22.12 or later.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.