The Enterprise API Request Tester is a powerful, user-friendly tool designed for developers, QA engineers, and API enthusiasts. It allows users to easily construct, send, and analyze HTTP requests to any API endpoint. With a sleek interface and robust functionality, this tool streamlines the process of API testing and exploration.
- Multiple HTTP Methods 🔄: Support for GET, POST, PUT, DELETE, PATCH, HEAD, and OPTIONS.
- Custom Headers 📝: Add and modify request headers with ease.
- Request Body Editor ✏️: Built-in editor for crafting JSON request bodies.
- Authentication Support 🔐: Includes options for Bearer Token and Basic Auth.
- Response Viewer 👀: Clear display of API responses with options for raw and formatted views.
- Request Saving 💾: Save and manage frequently used API requests.
- Import/Export 📤📥: Share your API collections with team members.
- Sample Requests 🧪: Quick-load sample requests using real, functional APIs for instant testing.
- Responsive Design 📱💻: Seamless experience across desktop and mobile devices.
- CORS-Friendly 🌐: Built-in proxy to handle CORS issues, allowing testing of various APIs.
- Error Handling 🐛: Comprehensive error handling and display for better debugging.
- Timeout Management ⏱️: Implements request timeouts to prevent long-running requests.
- Frontend Framework: Typescript with Next.js (App Router) ⚛️
- UI Components: shadcn/ui 🎨
- Styling: Tailwind CSS 💅
- State Management: WebHooks (useState, useEffect) 🎣
- HTTP Requests: Fetch API with custom proxy implementation 🌐
- Animations: Framer Motion 🎬
- Notifications: Hot Toast 🍞
- Icons: Lucide React 🖼️
- Language: TypeScript 📘
- Deployment: Vercel-ready 🚀
- Node.js (v14.0.0 or later) 📦
- npm or yarn 🧶
- Clone the repository:
git clone https://github.com/your-username/enterprise-api-request-tester.git
2. Navigate to the project directory:
```shellscript
cd enterprise-api-request-tester
- Install dependencies:
npm install
# or
yarn install
- Start the development server:
npm run dev
# or
yarn dev
- Open http://localhost:3000 in your browser to see the application.
- Select HTTP Method 🔄: Choose from GET, POST, PUT, DELETE, PATCH, HEAD, or OPTIONS.
- Enter URL 🔗: Input the API endpoint URL you want to test.
- Add Headers 📝: (Optional) Add any custom headers required for your request.
- Add Body 📦: (Optional) For methods like POST or PUT, add a JSON body to your request.
- Set Authentication 🔐: (Optional) Configure Bearer Token or Basic Auth if required.
- Send Request
▶️ : Click the "Send Request" button to make the API call. - View Response 👀: Analyze the API response in the response viewer.
- Save Request 💾: (Optional) Save your request for future use.
- Load Sample 🧪: Use the "Load Sample" button to quickly test with pre-configured, functional API requests.
Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project 🍴
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) 🌿 - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) 💬 - Push to the Branch (
git push origin feature/AmazingFeature
) 🚀 - Open a Pull Request 🎉
Distributed under the MIT License. See LICENSE
for more information.
Sunny Patel - [email protected]
Project Link: https://github.com/your-username/enterprise-api-request-tester
Made by Sunny Patel