https://github.com/puter-apps/api-tester
A simple web-based API testing tool that allows you to test HTTP APIs, similar to Postman or Insomnia.
https://github.com/puter-apps/api-tester
api bruno insomnia postman puter puter-app puter-networking
Last synced: 10 months ago
JSON representation
A simple web-based API testing tool that allows you to test HTTP APIs, similar to Postman or Insomnia.
- Host: GitHub
- URL: https://github.com/puter-apps/api-tester
- Owner: Puter-Apps
- License: mit
- Created: 2025-05-30T16:56:47.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-06-08T21:56:31.000Z (about 1 year ago)
- Last Synced: 2025-06-08T22:28:57.467Z (about 1 year ago)
- Topics: api, bruno, insomnia, postman, puter, puter-app, puter-networking
- Language: HTML
- Homepage: https://puter.com/app/api-tester
- Size: 687 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
API Tester
A simple web-based API testing tool that allows you to test HTTP APIs, similar to Postman or Insomnia.
## Features
- **Multiple HTTP Methods**: Support for GET, POST, PUT, DELETE, PATCH, HEAD, and OPTIONS requests
- **Custom Headers**: Add and manage custom HTTP headers for your requests
- **Request Body Support**: Send JSON, text, or other data in request bodies
- **Response Visualization**: View formatted JSON responses with syntax highlighting
- **Response Metrics**: See response status codes, status text, and response times
- **Modern UI**: Clean, responsive interface that works on all devices
- **No Installation Required**: Runs directly in your browser
## Getting Started
Clone the repository:
```bash
git clone https://github.com/puter-apps/api-tester.git
```
and open the `/src/index.html` file in your browser.
## How It Works
API Tester leverages [**Puter.js**](https://developer.puter.com/) to overcome the fundamental challenge of cross-origin requests in web browsers. Traditional web applications are restricted by CORS (Cross-Origin Resource Sharing) policies, which prevent direct API calls to external domains from browser-based JavaScript.
Specifically, the application uses [`puter.net.fetch()`](https://docs.puter.com/Networking/fetch/) to make cross-origin HTTP requests and bypass CORS restrictions. This allows the app to test any public API endpoint without server-side configuration.
## License
MIT