Skip to content

A lightweight and convenient Chrome extension that provides a sidebar to quickly test your API endpoints without leaving your current tab. Send GET and POST requests, add custom headers, and view responses in multiple formats.

Notifications You must be signed in to change notification settings

dizaraj/api-relay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

API Relay

A lightweight and convenient Chrome extension that provides a sidebar to quickly test your API endpoints without leaving your current tab. Send GET and POST requests, add custom headers, and view responses in multiple formats.

💯 Why Use This Extension?

As a developer, you often need to quickly check an API endpoint or test a response. Switching between your browser, a code editor, and a dedicated API client like Postman can be cumbersome. This extension solves that by bringing a simple yet powerful API testing tool directly into your browser's sidebar. It's perfect for rapid testing, debugging, and development workflows.

📚 How to Use

  1. Open the Sidebar: Click the extension's icon in your Chrome toolbar to open the sidebar.
  2. Select Method: Choose either GET or POST for your request.
  3. Enter URL: Paste the full API endpoint URL you want to test.
  4. Add Headers (optional):
    • Click the + Add Header button to create a new header row.
    • Enter the header name (e.g., x-rapidapi-key) and its value.
    • Add as many headers as you need.
  5. Add Body (for POST): If you selected POST, a body field will appear. Enter your JSON payload here.
  6. Send Request: Click the Send Request button.
  7. View Response: The response will appear at the bottom. You can switch between different views:
    • Auto: Automatically detects if the response is JSON, an image, or plain text.
    • Text: Shows the raw text body of the response.
    • Image: Attempts to render the response as an image.
    • Headers: Displays the status code and all response headers.

Screenshot

⚙️ Key Features

  • Convenient Sidebar UI: No need to open a new tab or application.
  • GET & POST Support: Covers the most common HTTP methods for testing.
  • Custom Headers: Easily add any number of custom request headers, including authorization tokens.
  • Multiple Response Views: Intelligently renders JSON, images, and raw text, or lets you choose the format.
  • Dark Mode Support: Automatically adapts to your system's theme.
  • Lightweight & Fast: Built with vanilla JavaScript for optimal performance.

✅ Permissions Explained

This extension requests a few permissions to provide its features. Here’s why each one is needed:

  • "sidePanel": This is the core permission that allows the extension to open its user interface in the browser's side panel.
  • "activeTab": This is the permission to enable the side panel on the currently active tab. The extension does not read or alter the content of the web pages you visit.

⭐ Enjoying the Extension? Leave a Review!

If you find this tool helpful, please consider leaving a 5-star review on the Chrome Web Store! Your feedback helps the extension grow and motivates future development.

You can rate it directly from the review section at the bottom of the extension's sidebar.

🔐 Privacy

This extension is built with your privacy in mind. It does not collect, store, or transmit any user data. For more details, please read the full Privacy Policy.

💬 Need Help!

If you have any questions, require support, or have feedback, please feel free inbox me.

❤️ Support the Project

Feedback & Contributing: Found a bug or have a feature request? Please open an issue on GitHub. Contributions are welcome! Feel free to fork the repository and submit a pull request.

If you find it useful and would like to support its continued development, maintenance, and the creation of more helpful tools, please consider showing your appreciation. Your support is greatly valued!

Buy Me a Coffee

About

A lightweight and convenient Chrome extension that provides a sidebar to quickly test your API endpoints without leaving your current tab. Send GET and POST requests, add custom headers, and view responses in multiple formats.

Topics

Resources

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published