From 3bd264f9746c03b69029d4d2b1272f85b85b8680 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20P=C4=99dzich?= Date: Sat, 17 Jan 2026 09:23:15 +0100 Subject: [PATCH] Make sure to use the right HTTP method for the report endpoint --- index.mjs | 1 + 1 file changed, 1 insertion(+) diff --git a/index.mjs b/index.mjs index 0c57313..32d2886 100644 --- a/index.mjs +++ b/index.mjs @@ -65,6 +65,7 @@ const server = createServer((req, res) => { const abuseIpDbRes = await fetch( `https://api.abuseipdb.com/api/v2/report?${queryParams.toString()}`, { + method: 'POST', headers: { 'Accept': 'application/json', 'Key': process.env.ABUSEIPDB_API_KEY,