A lightweight Postman alternative integrated directly into VS Code, enhanced with a Gemini AI Copilot to assist you with API requests, testing, and troubleshooting.
✨ Features
Full-featured API Client: Send GET, POST, PUT, DELETE, PATCH requests.
Custom Headers & Body: Easily configure your request with JSON headers and body.
Formatted Responses: View API responses with syntax highlighting and line numbers.
AI-Powered Copilot:
Generate Requests: Describe the API request you need (e.g., "GET user data from GitHub API") and the AI will auto-fill the form.
Test Suggestions: Ask for JavaScript test script suggestions for your API responses.
Troubleshooting & Explanations: Get instant explanations for HTTP status codes or troubleshooting tips.
Clean & Responsive UI: A modern, intuitive interface designed for productivity.
🚀 Getting Started
Installation
Open VS Code.
Go to the Extensions view: Ctrl+Shift+X (or Cmd+Shift+X on macOS).
Search for "Postman Lite with Copilot Extension".
Click Install.
How to Use
Open the Extension:
Open the Command Palette: Ctrl+Shift+P or Cmd+Shift+P.
Type Open Postman Lite and select:
Postman Lite with Copilot Extension: Open Postman Lite
A new Webview panel will open with the Postman Lite interface.
Make an API Request:
Select the HTTP Method: GET, POST, PUT, etc.
Enter the URL for your API endpoint.
Add Headers (as a JSON object) and Body (as a JSON object) if required.
Click the Send Request button.
The API response will be displayed in the "API Response" section below.
Use the Copilot AI Assistant:
Ensure your Gemini API Key is configured (see Configuration below).
Type your query in the "Copilot AI Assistant" chat input.
Postman Lite with Copilot Settings: Gemini Api Key
Paste your Gemini API Key into this field.
Restart your VS Code window (or close and reopen the Postman Lite webview) for the changes to take effect.
🤝 Contributing
Contributions are welcome!
If you have suggestions, bug reports, or want to contribute code, please open an issue or pull request on the GitHub repository.
📄 License
This project is licensed under the MIT License — see the LICENSE file for details.
👨💻 Author
Karthic Raja
Note: Replace KarthicRaja in URLs and GitHub repo links once you create and push your project.