postPit
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data β all from the browser, and deployed in milliseconds.
Viewing readonly version of main branch: v26View latest version
A webhook testing service that captures HTTP requests and displays them in a user-friendly interface.
- Generate unique URLs for capturing webhook events
- Persist all incoming requests with full details (headers, body, method, etc.)
- Real-time UI for viewing captured requests
- Support for all HTTP methods
- Enhanced JSON formatting with collapsible/expandable objects and arrays
- Syntax highlighting for JSON data
- Request timestamps and metadata
βββ backend/
β βββ database/
β β βββ migrations.ts # Database schema
β β βββ queries.ts # Database operations
β βββ index.ts # Main Hono server
βββ frontend/
β βββ components/
β β βββ App.tsx # Main React app
β β βββ BinView.tsx # Individual bin viewer
β β βββ JsonViewer.tsx # Enhanced JSON viewer with collapsible objects
β β βββ RequestList.tsx # Request list component
β βββ index.html # Main HTML template
β βββ index.tsx # Frontend entry point
βββ shared/
βββ types.ts # Shared TypeScript types
- Visit the homepage to create a new request bin
- Copy the generated URL and use it as a webhook endpoint
- Send HTTP requests to the URL
- View captured requests in real-time on the bin page
GET /- HomepagePOST /api/bins- Create a new binGET /api/bins/:binId- Get bin details and requestsALL /bin/:binId- Capture webhook requestsGET /bin/:binId/view- View bin in UI