跳到正文
TakoAPI
返回技能列表

hookcatch

由 hookcatch 提供

Web & Frontend Development
413下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Test webhooks and expose local services using HookCatch - a developer-friendly webhook testing tool.

描述

该技能的功能

HookCatch is a CLI tool for creating webhook bins and exposing localhost ports via public tunnels. It captures and inspects incoming HTTP requests, making it practical for testing third-party webhook integrations without deploying code.

It combines webhook inspection and localhost tunneling in a single CLI with JSON output designed for script automation, avoiding the need to juggle separate tools for each task.

何时使用

  • Capture Stripe payment webhook payloads during local development
  • Expose a local API server to GitHub for push/PR event testing
  • Inspect raw request bodies from Twilio SMS callbacks
  • Replay a previously captured webhook to a different endpoint
  • Filter and audit webhook traffic by HTTP method or timestamp

示例工作流

输入

User asks: capture and inspect incoming Stripe webhooks locally

智能体
  1. 1

    Run hookcatch bin create --name "Stripe Test" --format json to get a public webhook URL

  2. 2

    Configure the returned URL as the webhook endpoint in the Stripe dashboard

  3. 3

    Trigger a Stripe event (e.g., a test payment)

  4. 4

    Run hookcatch bin requests <binId> --format json to fetch captured payloads

  5. 5

    Parse the JSON output to extract event type and relevant fields

输出

A list of captured Stripe webhook requests with full headers, body, and metadata available for inspection or further processing

前置要求

  • HOOKCATCH_API_KEY environment variable
  • HookCatch account (free tier available at hookcatch.dev)
  • PLUS+ tier subscription for private bins and extended tunnel sessions

安装

clawhub install hookcatch/hookcatch

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接