webhooksite / webhook.site

⚓️ Easily test HTTP webhooks with this handy tool that displays requests instantly.
https://webhook.site
Other
5.13k stars 398 forks source link

Retrieval of requests through API or URL using opensource version #112

Open chemckenna opened 2 years ago

chemckenna commented 2 years ago

Hi @fredsted

Nice tool!

I was looking for some advice or direction. I have a running opensource instance using docker and can see requests arrive as I send them, which is perfect for what I need.

I would like extend this to interrogate requests as they come in, either through simply picking up the most recent one or querying the store of requests that have been received. I imagine one way to do so would be through API calls or some URL that returns the latest request - similar to Get single request here, I guess.

Is this possible with either of the default deployments with Docker or Kubernetes? If not, can you advise on how it might be done, please? I do not need to persist the requests for any significant time period, so persisting data to disk is not important to me, but I will do so if it enables my ability to query / retrieve.

I would appreciate any advice you can give.

Thanks.