Skip to content

soumendrak/api-playground

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

API Playground

API Playground

A mini Postman-like API client that runs entirely in your browser.

HTML5 JavaScript Zero Dependencies License: MIT PRs Welcome

Overview

API Playground is a lightweight, single-file HTTP client for testing REST APIs. Enter a URL, choose a method, add headers and a body, and send the request — all from your browser. Save frequently used requests as collections in localStorage for quick access.

Built with zero external dependencies — just vanilla HTML, CSS, and JavaScript.

Features

Feature Description
All HTTP Methods GET, POST, PUT, DELETE, PATCH, HEAD, OPTIONS
Custom Headers Add, edit, and remove request headers dynamically
Request Body Full text body support for POST/PUT/PATCH
Response Viewer Status code with color coding, response headers, formatted body
JSON Pretty-Print Auto-formats JSON responses for readability
Collections Save named requests to localStorage, load with one click
Keyboard Shortcut Ctrl+Enter to send request
Dark Theme Easy on the eyes with orange accents

Quick Start

  1. Open index.html in any modern browser
  2. Enter an API URL (e.g., https://jsonplaceholder.typicode.com/posts/1)
  3. Choose a method and click Send
  4. Save frequent requests using the Save Current button

No build step, no server, no dependencies.

Project Structure

api-playground/
└── index.html    # The entire application

License

MIT — see LICENSE

Releases

No releases published

Packages

 
 
 

Contributors

Languages