A web-based API testing tool built with HTML, CSS, and JavaScript. This tool allows users to compose and send HTTP requests, view responses, manage headers, body, authentication, and track request history — all from a clean and responsive interface.
-
Support for common HTTP methods:
GET,POST,PUT,DELETE,PATCH -
Custom headers with dynamic form
-
Request body editor with JSON formatting
-
Authentication options:
- No Auth
- Basic Auth
- Bearer Token
- API Key (query or header)
-
Syntax-highlighted JSON response viewer
-
Response metadata: status, time, size
-
Tabbed views for body, headers, cookies
-
Request history (stored in
localStorage) -
Import/export of requests (Save/Import buttons)
No build tools required! This is a static web app.
- Clone the repository or copy the code.
- Save the HTML as
index.html. - Open it in any modern web browser.
For auto-refresh and local hosting:
npx serve
# or
python3 -m http.serverThen visit http://localhost:5000 or whatever port it provides.
-
Choose HTTP Method (GET, POST, etc.)
-
Enter API Endpoint URL
-
Add Headers (optional):
- Click "Add Header"
- Provide key/value (e.g.,
Content-Type: application/json)
-
Set Body (if applicable):
- Switch to the Body tab
- Add raw JSON, XML, or plain text
-
Add Auth (optional):
- Switch to the Auth tab
- Select Basic, Bearer Token, or API Key
-
Send Request:
- Click "Send"
- View response in the bottom panel
- Switch between Body, Headers, and Cookies
-
Track History:
- Left sidebar shows past requests
- Click to reload
- Save: Stores history to
localStorage - Import: Future enhancement (can be extended to support JSON import/export)
index.html # All-in-one HTML, CSS, JS
README.md # Project documentation
- Add dark mode
- Support for GraphQL
- Curl export for requests
- File upload support in body
✅ Chrome ✅ Firefox ✅ Edge ✅ Safari
This project is open-source and available under the MIT License.