AgentSkillsCN

http-testing

HTTP API测试与调试

SKILL.md
--- frontmatter
name: http-testing
description: "HTTP API testing and debugging"
homepage: "https://docs.aof.sh/skills/http-testing"
metadata:
  emoji: "🔗"
  version: "1.0.0"
  requires:
    bins: ["curl", "jq"]
    env: []
    config: []
  tags: ["http", "api", "testing"]

HTTP Testing Skill

Test HTTP APIs for functionality, performance, and debugging.

When to Use This Skill

  • Testing API endpoints
  • Debugging HTTP issues
  • Verifying authentication
  • Checking response format
  • Testing error conditions

Steps

  1. GET requestcurl http://endpoint/
  2. POST with datacurl -X POST -d '{}' http://endpoint/
  3. Check headerscurl -i http://endpoint/
  4. Add authcurl -H 'Authorization: Bearer token' http://endpoint/
  5. Parse responsecurl http://endpoint/ | jq .