iruwl/simple-webhook

By iruwl

Updated 8 months ago

Simple Webhook adalah aplikasi Python ringan untuk menerima, menampilkan, dan memantau HTTP Request.

Image
Message queues
Monitoring & observability
0

175

iruwl/simple-webhook repository overview

Simple Webhook

Simple Webhook adalah aplikasi Python ringan untuk menerima, menampilkan, dan memantau HTTP Request secara realtime. Dibuat menggunakan framework Flask + SSE (Server-Sent Events). Aplikasi ini mendukung multi-session, sehingga setiap pengguna memiliki URL webhook terpisah dan log yang tidak tercampur.


Fitur Utama

  • Menerima semua jenis HTTP request (GET, POST, PUT, PATCH, DELETE, OPTIONS)
  • Viewer realtime menggunakan SSE (tanpa refresh)
  • Multi-session (setiap user punya session sendiri)
  • Mendukung JSON, form-urlencode, raw body, dan file upload
  • Query-string & header ditampilkan lengkap
  • UI otomatis refresh log terbaru
  • Endpoint health check

Menjalankan dengan Docker

Pull image
docker pull iruwl/simple-webhook:v1
Jalankan container
docker run -d \
  -p 8080:8080 \
  --name simple-webhook \
  iruwl/simple-webhook:v1
Buka browser
http://localhost:8080

Contoh Request

Kirim JSON
curl -X POST -H "Content-Type: application/json" \
  -d '{"hello":"world"}' \
  http://localhost:8080/webhook/<SESSION_ID>
Kirim Form Data
curl -X POST -d "user=test&pass=1234" \
  http://localhost:8080/webhook/<SESSION_ID>
Upload file
curl -X POST -F file=@/etc/hosts \
  http://localhost:8080/webhook/<SESSION_ID>

Tag summary

Content type

Image

Digest

sha256:c5b311788

Size

44.9 MB

Last updated

8 months ago

docker pull iruwl/simple-webhook:v2