A web-based API testing tool built with Next.js. Test REST APIs with an intuitive interface—configure requests, inspect responses, and keep a history of your calls.
- Request configuration — Set HTTP method (GET, POST, PUT, DELETE, PATCH, or custom), URL, query parameters, and headers
- Request body — Support for form-data, URL-encoded, raw (JSON, XML, Text), and binary payloads
- Authentication — Bearer token and Basic auth
- Settings — Follow redirects, timeout, and SSL certificate verification
- Response viewer — Inspect status, headers, and body with syntax highlighting
- Request history — Recent requests saved in localStorage for quick re-use
- Theme support — Light and dark modes (night, cmyk themes)
- Next.js 15 — React framework
- React 19 — UI library
- Tailwind CSS & DaisyUI — Styling
- TanStack Query — Data fetching
- React Hook Form — Form state
- Lucide React — Icons
# Clone the repository
git clone https://github.com/mahdimanzouri/haftkhan.git
cd haftkhan
# Install dependencies
pnpm install# Start development server
pnpm dev
# Build for production
pnpm build
# Start production server
pnpm startOpen http://localhost:3000 in your browser.
MIT © Mahdi Manzouri