ข้ามไปที่เนื้อหา

นับการเปิดหน้าและการคลิกโปรเจกต์ด้วย PostHog (เซิร์ฟเวอร์ EU) ไหม โหลดเมื่อคุณกดอนุญาตเท่านั้น ความเป็นส่วนตัว

Webhook Tester live preview
โปรเจกต์ทั้งหมด

Webhook Tester

Debug real webhook payloads without spinning up ngrok.

Testing payment, CI/CD, and form webhooks required a local tunnel just to see what a request looked like.

Tech Domain · Book Dev|เผยแพร่แล้ว|หลักฐาน: ใช้งานจริง|Next.js, TypeScript

มี deployment สาธารณะที่เปิดให้ทดลองใช้งาน

กรณีศึกษา

ก่อนใช้งาน

Debugging webhook integrations (payment notifications, CI/CD events, form submissions) required local servers with ngrok tunnels.

หลังใช้งาน

Webhook inspector on the App shell: point a sender at the capture address, or press Send test, and read what arrived in the browser, without a tunnel or an account.

วิธีแก้ปัญหา

Built a capture endpoint, /api/hook/<id>, that stores method, headers, body and time of each request in server memory (up to 50 per address). The UI polls every 2.5 seconds, has a Send test button, and lets you open and clear captures with Undo; credential headers are redacted and sender IPs dropped.

สิ่งที่ยังไม่แก้

Captures stay in memory for up to an hour and can vanish on restart; no replay, mocking or signature checks.

บทความที่เกี่ยวข้อง

อ่านเพิ่มเติมในหัวข้อที่เกี่ยวข้องจากบล็อก

โปรเจกต์ที่เกี่ยวข้อง

เพิ่มเติมใน Tech Domain · Book Dev