A lightweight, feature-rich REST client embedded directly in your browser for quick and easy API testing. Built as a Chrome extension, this tool allows you to send HTTP requests, inspect responses, and manage your API workflows without leaving your browser.
- Multiple HTTP Methods: Supports
GET,POST,PUT,DELETE, and more. - Environment Variables: Use variables like
{{base_url}}or{{token}}for dynamic requests. - Authentication: Supports API keys, Bearer tokens, and OAuth 2.0.
- Scripting: Write pre-request and post-request scripts for advanced workflows.
- Response Formatting: Syntax highlighting for JSON, XML, and more.
- Dark Mode: A sleek dark theme for better usability.
- Lightweight: Fast and easy to use, with no unnecessary bloat.
- Google Chrome or any Chromium-based browser.
- Download the Extension:
git clone https://github.com/MdRaihanHasan/API-Tester.git
- Load the Extension in Chrome:
- Open Chrome and go to
chrome://extensions/. - Enable Developer Mode (toggle in the top-right corner).
- Click Load unpacked and select the folder containing the extension files.
- Open Chrome and go to
- Start Testing:
- Click the extension icon in the toolbar to open the API Tester.
- Enter your API endpoint, configure headers, and send requests!
- Select the HTTP method (
GET,POST, etc.). - Enter the URL (e.g.,
https://api.example.com/data). - Add headers (e.g.,
{ "Content-Type": "application/json" }). - Add a request body (if applicable).
- Click Send Request to see the response.
- Define variables in the Environment Variables field (e.g.,
{ "base_url": "https://api.example.com" }). - Use them in your URL or headers like
{{base_url}}/endpoint.
- Choose the authentication type (
API Key,Bearer Token, orOAuth 2.0). - Enter the required credentials.
- Write JavaScript in the Pre-request Script or Post-request Script fields to automate tasks.
- Toggle dark mode using the checkbox in the bottom-right corner.
We welcome contributions! Here’s how you can help:
- Click the Fork button on GitHub.
- Create a new branch for your feature or bug fix.
- Commit your changes with clear and descriptive messages.
- Open a pull request and describe your changes.
- Clone the repository:
git clone https://github.com/MdRaihanHasan/API-Tester.git
- Load the extension in Chrome as described in the Installation section.
- Make changes to files (
popup.html,popup.js,styles.css, etc.). - Test your changes and ensure everything works as expected.
This project is licensed under the MIT License. See the LICENSE file for details.
- Built with ❤️ by Raihan.
- Inspired by tools like Postman and Insomnia.
- Thanks to the open-source community for their contributions and support.
If you find this project useful, please consider giving it a ⭐ on GitHub! For issues or feature requests, open an issue on the GitHub repository.
Enjoy testing your APIs with ease! 🚀