An open API service indexing awesome lists of open source software.

https://github.com/iamnishant51/api-testing-vs-code-extension-

A vs-code extension just like POSTMAN inside your vs-code, you can test all your APIs inside vs-code.
https://github.com/iamnishant51/api-testing-vs-code-extension-

backend developer-tools extensi vscode vscode-extension

Last synced: 2 months ago
JSON representation

A vs-code extension just like POSTMAN inside your vs-code, you can test all your APIs inside vs-code.

Awesome Lists containing this project

README

          

# API Tester Pro

[![VS Code](https://img.shields.io/badge/Visual_Studio_Code-0078D4?style=flat&logo=visual-studio-code&logoColor=white)](https://marketplace.visualstudio.com/items?itemName=YourExtensionName)
![TypeScript](https://img.shields.io/badge/TypeScript-007ACC?style=flat&logo=typescript&logoColor=white)
![API](https://img.shields.io/badge/API-Testing-green)

A powerful Visual Studio Code extension for testing APIs directly within your IDE. Test your endpoints, manage requests, and validate responses without leaving VS Code.

## Features ⚡

- **In-IDE API Testing**: Test API endpoints directly from VS Code
- **Multiple HTTP Methods**: Support for GET, POST, PUT, DELETE, and more
- **Request Builder**: Easy-to-use interface for building API requests
- **Response Viewer**: Clear visualization of API responses
- **Headers Management**: Custom header configuration
- **Request History**: Track and reuse previous API calls
- **JSON Support**: Automatic JSON formatting and validation

## Installation 📥

1. Open Visual Studio Code
2. Navigate to Extensions (Ctrl+Shift+X)
3. Search for "API Testing"
4. Click Install
5. Reload VS Code when prompted

## Usage 🚀

1. Open Command Palette (Ctrl+Shift+P)
2. Type "API Test" to see available commands
3. Select your desired operation:
- Create new request
- View request history
- Manage environments
- View response details

## Key Features in Detail 🎯

### Request Management
- Create and save API requests
- Set request methods (GET, POST, PUT, DELETE)
- Configure request headers
- Add request body (JSON, Form Data)

### Response Handling
- View response status codes
- Format JSON responses
- Check response headers
- View response time

### Environment Variables
- Create multiple environments
- Manage environment variables
- Switch between environments
- Secure sensitive data

### History and Collections
- Save frequently used requests
- Organize requests in collections
- Access request history
- Export/Import collections

## Requirements 🛠️

- Visual Studio Code 1.60.0 or higher
- Internet connection for API calls
- Basic understanding of RESTful APIs

## Extension Settings ⚙️

This extension contributes the following settings:

- `apiTesting.maxHistory`: Maximum number of requests to keep in history
- `apiTesting.timeout`: Request timeout in milliseconds
- `apiTesting.defaultHeaders`: Default headers for new requests

## Tips and Tricks 💡

1. Use keyboard shortcuts for faster testing
2. Save frequently used requests as templates
3. Utilize environment variables for different setups
4. Export collections for team sharing

## Contributing 🤝

Contributions are welcome! Here's how you can help:

1. Fork the repository
2. Create your feature branch (`git checkout -b feature/AmazingFeature`)
3. Commit your changes (`git commit -m 'Add some AmazingFeature'`)
4. Push to the branch (`git push origin feature/AmazingFeature`)
5. Open a Pull Request

## Author ✍️

Nishant Unavane
- GitHub: [@IamNishant51](https://github.com/IamNishant51)
- Email: anonymouslucifer400@gmail.com

## Support 🌟

If you find this extension helpful:
- Star the GitHub repository
- Share with your network
- Report issues or suggest features
- Consider contributing to the project

## License 📄

This project is licensed under the MIT License - see the LICENSE file for details.

## Acknowledgments 🙏

- VS Code Extension API
- REST API community
- All contributors and users

---

## Installation

1. Open VS Code.
2. Go to the **Extensions** view (`Ctrl+Shift+X` or `Cmd+Shift+X` on macOS).
3. Search for **API Tester Pro**.
4. Click **Install**.

---

Made with ❤️ by Nishant Unavane