api-request-builder

Build a basic HTTP request (curl or fetch) for an API. Use when a junior developer needs a quick request example.

SKILL.md

GitHub

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.