AI SummaryAPI-Client is a Copilot instruction set that helps developers test and debug APIs directly from VS Code with request storage, colorized output, and CLI commands. It benefits backend developers, API testers, and anyone who frequently works with HTTP endpoints.
Install
Copy this and paste it into Claude Code, Cursor, or any AI assistant:
I want to add the "API-Client — Copilot Instructions" prompt rules to my project. Repository: https://github.com/HughKnightOCE/API-Client Please read the repo to find the rules/prompt file, then: 1. Download it to the correct location (.cursorrules, .windsurfrules, .github/prompts/, or project root — based on the file type) 2. If there's an existing rules file, merge the new rules in rather than overwriting 3. Confirm what was added
Description
A lightweight, powerful command-line HTTP client for testing and debugging APIs with request storage, colourised output, and a modern web UI.
Key Features Implemented
✅ HTTP Methods: GET, POST, PUT, PATCH, DELETE, HEAD ✅ Request Storage: Save/load requests as JSON ✅ Colorized Output: Using Rich library for beautiful terminal output ✅ Error Handling: Connection errors, timeouts, JSON parsing ✅ Request History: Track recent requests ✅ Headers & Body: Full support for custom headers and request bodies
ApiClient - HTTP API Testing CLI Tool
A lightweight, powerful command-line HTTP client for testing and debugging APIs.
Project Structure
• apiclient/cli.py - Typer CLI interface with commands • apiclient/client.py - HTTP request logic and response handling • apiclient/config.py - Request storage and configuration management • apiclient/formatter.py - Rich library output formatting • apiclient/__main__.py - Entry point for CLI
Available Commands
• get - Make a GET request • post - Make a POST request • put - Make a PUT request • patch - Make a PATCH request • delete - Make a DELETE request • head - Make a HEAD request • save - Save a request for later • list - List all saved requests • show - Show details of a saved request • run - Execute a saved request • delete-request - Delete a saved request
Discussion
Health Signals
My Fox Den
Community Rating
Sign in to rate this booster
Works With
Any AI assistant that accepts custom rules or system prompts