返回 Skill 列表
extension
分类: 开发与工程无需 API Key

api-request-builder

构建一个基本的HTTP请求(curl或fetch)用于API。当初级开发人员需要快速请求示例时使用。

person作者: jakexiaohubgithub

API Request Builder

Purpose

Build a basic HTTP request (curl or fetch) for an API.

Inputs to request

  • Method, URL, and endpoint description.
  • Auth type and credentials.
  • Required headers and payload shape.

Workflow

  1. Confirm method, URL, headers, and auth scheme.
  2. Construct the request with placeholder values.
  3. Show how to inspect the response status and body.

Output

  • Runnable request example.
  • Notes on required headers and auth.

Quality bar

  • Redact secrets and use placeholders.
  • Include a sample response check.