api-testing
Installation
SKILL.md
API Testing
Comprehensive API testing: functional, contract, mock, and GraphQL.
Functional API Testing with curl
REST endpoints
# GET with response validation
response=$(curl -s -w "\n%{http_code}" https://api.example.com/users/1)
body=$(echo "$response" | head -n -1)
status=$(echo "$response" | tail -1)
echo "Status: $status"
echo "$body" | jq .