Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Puter-Apps/api-tester

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A simple web-based API testing tool that allows you to test HTTP APIs, similar to Postman or Insomnia.

Screenshot


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:

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 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() 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

About

A simple web-based API testing tool that allows you to test HTTP APIs, similar to Postman or Insomnia.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
Morty Proxy This is a proxified and sanitized view of the page, visit original site.