api-testing

Script HTTP requests and validate responses for REST API testing.

1|1|Updated Mar 6, 2026
One-click install
npx skills add https://github.com/dennisonbertram/go-agent-harness --skill api-testing-dennisonbertram
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: api-testing
Source: https://github.com/dennisonbertram/go-agent-harness/tree/main/skills/api-testing
Command: npx skills add https://github.com/dennisonbertram/go-agent-harness --skill api-testing-dennisonbertram

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Persistent manual testing of REST APIs is error-prone and time-consuming. This Skill provides ready-to-run patterns using curl and jq to automate endpoint checks, response validation, and quick smoke tests, helping teams verify API behavior rapidly.

Core Features & Use Cases

  • Curl-driven requests for GET, POST, PUT, PATCH, and DELETE to validate endpoints.
  • Assertions on HTTP status codes, headers, and JSON payloads using jq for quick, reliable checks.
  • Ideal for API development and QA workflows, including smoke testing, contract validation, and environment parity checks across staging and production-like setups.
  • Use Case: rapidly validate a new API by sending a sequence of requests and ensuring responses conform to expected schemas.

Quick Start

Run a simple curl command against your API to verify connectivity and response structure.

Frequently Asked Questions about api-testing

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate REST API testing with curl and jq?

Automate REST API testing by scripting curl HTTP requests and validating JSON responses with jq assertions. This approach checks HTTP status codes, headers, and payloads to verify endpoint behavior across staging and production-like environments.

What is the best way to validate HTTP status codes and JSON body responses in API testing?

Validate HTTP status codes and JSON body responses by applying jq assertions to curl request outputs. This method reliably checks response schemas, headers, and status codes for quick smoke tests and contract validation.

Can I use curl scripts for smoke testing and contract validation across staging environments?

Yes, curl scripts support smoke testing and contract validation across staging environments. You can sequence GET, POST, PUT, PATCH, and DELETE requests to ensure responses conform to expected schemas and maintain environment parity.

Do I need a specific testing framework to run REST API endpoint checks?

No testing framework is required to run REST API endpoint checks. You can execute ready-to-run curl commands and jq validation patterns directly in your development or QA workflow to verify API connectivity and response structure rapidly.

How do I test authenticated REST API endpoints using curl?

Test authenticated REST API endpoints by passing optional authentication headers and tokens within your curl commands. This ensures consistent results when validating protected routes during endpoint testing and contract checks.

Why does manual REST API testing become error-prone and time-consuming?

Manual REST API testing becomes error-prone due to repetitive human execution. Scripting curl requests and jq assertions automates endpoint checks, eliminating manual errors and helping teams verify API behavior rapidly.