api-testing

Test authorized API endpoints using curl with Basic and session authentication.

9|2|Updated Jan 9, 2026
One-click install
npx skills add https://github.com/dmitryprg-ai/cursor-develop-autorules --skill api-testing-dmitryprg-ai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: api-testing
Source: https://github.com/dmitryprg-ai/cursor-develop-autorules/tree/main/.cursor/skills/api-testing
Command: npx skills add https://github.com/dmitryprg-ai/cursor-develop-autorules --skill api-testing-dmitryprg-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires curl, jq, python3, base64, and includes scripts (resource) components.

What problem does it solve?

Test API endpoints that require authorization.

Core Features & Use Cases

  • Two authentication levels: Basic Auth for nginx and session-based login for API endpoints.
  • Scripted testing workflow using helper scripts to login and run requests.
  • Works with curl-based requests and supports health checks and authorized endpoints.

Quick Start

Establish a session using get-session.sh and then test an API endpoint using test-endpoint.sh with the target path.

Frequently Asked Questions about api-testing

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

FAQPage Schema
How do I test API endpoints that require Basic Auth and session login?

You can test session-based API endpoints by running the get-session.sh helper script to establish a login session, then passing the resulting session credentials to test-endpoint.sh to execute authorized curl requests against your target API paths.

What dependencies do I need to run curl-based API authorization tests?

To run curl-based API authorization tests, you need curl for HTTP requests, jq for JSON parsing, python3 for script logic, and base64 for encoding Basic Auth credentials.

Can I use this workflow to verify API health checks and error handling?

Yes, the scripted curl-based workflow supports verifying API health checks and evaluating error handling responses, allowing QA and development teams to confirm that both public and authorized endpoints behave correctly.

Does this approach support configurable credential paths for API testing?

Yes, the workflow supports configurable credential paths, allowing you to specify custom locations for authentication data when the scripts establish Basic Auth or session-based API logins.

What is the best way to automate QA testing for authenticated API endpoints?

The best way to automate QA testing for authenticated API endpoints is using script-driven workflows that establish sessions and execute curl requests, validating both Basic Auth and session-based authentication flows without manual intervention.