Skip to content

thegridbase-ai/apinspect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

APINspect

Capture, inspect, and debug HTTP requests in real-time. Free webhook testing, file sharing, and API debugging with zero config.

Live: api.thegridbase.com

Features

Webhook Inspector

  • Unique endpoint URL per session — send any HTTP request and see it instantly
  • Supports all methods: GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS
  • Real-time polling with visual pulse on new requests
  • Full request detail: headers, body (JSON/text/form), query params, files
  • Multipart form data with file capture (up to 10MB per request)
  • Download captured files directly from the dashboard
  • Custom response configuration: status code, headers, body, delay
  • Send test requests with JSON or multipart form data

File Sharing

  • Upload files up to 10MB each, share with an instant link
  • 20 files per space, 100MB total per space
  • File categorization: images, documents, audio, video, archives, code
  • Storage usage indicator

General

  • No signup, no config — just open and use
  • In-memory storage, auto-expires in 24 hours
  • Rate limited: 100 requests/hour per endpoint
  • Full CORS support for cross-origin webhooks
  • Privacy first: nothing persisted to disk

Tech Stack

  • Framework: Next.js 16 (App Router)
  • Language: TypeScript
  • Styling: Tailwind CSS 4
  • Storage: In-memory (Map-based, no database)
  • Deployment: Vercel

Self-Hosting

git clone https://github.com/cankilic/apinspect.git
cd apinspect
npm install
npm run dev

Create .env.local:

NEXT_PUBLIC_BASE_URL=http://localhost:3000
NEXT_PUBLIC_APP_NAME=APINspect

Build for production:

npm run build
npm start

API Reference

Webhook Endpoint

ANY /api/hook/{endpoint-id}

Send any HTTP request to this URL. The request will be captured and visible in the dashboard.

Example:

curl -X POST https://api.thegridbase.com/api/hook/your-id \
  -H "Content-Type: application/json" \
  -d '{"event": "user.created", "userId": 42}'

Get Captured Requests

GET /api/requests/{endpoint-id}

Returns all captured requests for the endpoint. Supports ?since=ISO-timestamp for incremental polling.

Custom Response Config

GET/POST /api/response-config/{endpoint-id}

Configure what the webhook endpoint returns:

{
  "statusCode": 200,
  "body": "{\"ok\": true}",
  "headers": { "X-Custom": "value" },
  "delay": 500
}

File Upload

POST /api/upload/{space-id}

Multipart form upload. Field name: file. Max 10MB per file.

File Download

GET /api/shared/{space-id}/{file-id}

Download a shared file.

License

MIT

About

Free webhook & API request inspector tool. Capture, inspect, and debug HTTP requests in real-time.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors