With Webhook.site, you can easily test HTTP webhooks and other types of HTTP requests.
Upon visiting the app, you get a random URL to send your requests and webhooks to, and they're all logged in the app – instantly. Check it out at https://webhook.site.
Built by Simon Fredsted (@fredsted).
The app was built with Laravel for the API and Angular.js for the frontend SPA.
- Patreon: https://www.patreon.com/webhooktester
- Bitcoin address: 1Maf64K9Wkpy7oBGEtqEda8H1H2drLSUuF
- Paypal: https://paypal.me/fredsted
- PHP 7
- Redis
- Composer
- Web server
Version 1.1 switched to using Redis for storage. If you want to use SQLite, you can use version 1.0.
The provided Docker Compose file sets up a complete environment that runs the Webhook.site image and all dependencies (Redis, Laravel Echo Server, etc.). Note that if running this in production, you should probably run a Redis server that persists data to disk. The Docker image is also not tuned for large amount of traffic.
- Run
docker-compose up
- The app is available on https://127.0.0.1:8084.
- Run the following commands:
composer install
cp .env.example .env
- adjust settings as neededphp artisan key:generate
- Setup virtual host pointing to the /public folder. DigitalOcean has a guide on how to configure nginx.
You can use laravel-echo-server or Pusher to enable realtime updates. Take a look at the .env.example
on how to configure it.
For laravel-echo-server, the app expects socket.io to be available at the /socket.io
path. This can be done with nginx like so:
location /socket.io {
proxy_pass https://127.0.0.1:6001;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade;
}