---
title: Cloudflared - Webhook Capture - Using webhook-tester
date: 2026-01-03T16:52:34Z
modified: 2026-01-03T18:41:47Z
permalink: "https://techarticles.co.uk/cloudflared-webhook-capture-using-webhook-tester/"
type: post
status: publish
excerpt: ""
wpid: 5853
categories:
  - Blog
  - Buildwithme
  - Coding
  - Windows
timestamp: 2026-01-03T18:41:47Z
tags:
  - Blog
  - Buildwithme
  - Coding
  - Windows
---

Following on from my recent article about Laragon behind Cloudflared, which was working great, I wanted to move my webhook testing to local development too and began looking for a suitable repository to do this, ideally without Docker.

I immediately started looking on GitHub and found exactly what I was looking for [https://github.com/tarampampam/webhook-tester](https://github.com/tarampampam/webhook-tester). This comes with a Windows binary, which i downloaded and put in my pathed folder as webhook.exe

## Running the hook

Running the hook is a simple command; now run it on port 18080, and it’s available on the localhost. The next thing I needed to do was get it externally reachable. The command below only makes it reachable on my local machine:

webhook.exe start --port 18080```
<span class="line"><span style="color: #79B8FF">webhook</span><span style="color: #F97583">.</span><span style="color: #79B8FF">exe</span><span style="color: #E1E4E8"> </span><span style="color: #79B8FF">start</span><span style="color: #E1E4E8"> </span><span style="color: #F97583">--</span><span style="color: #79B8FF">port</span><span style="color: #E1E4E8"> </span><span style="color: #79B8FF">18080</span></span>
```PHP

As I already had the tunnel, I modified the config a little so it looked like this

tunnel: 422979c4-XXXX-XXXX-XXXX-XXXXXX
credentials-file: C:\Users\XXXXXXX\.cloudflared\422979c4-XXXX-XXXX-XXXX-XXXXXX.json

ingress:
  - hostname: webhook.XXXXXX.co.uk
    service: http://localhost:18080

  - hostname: mylaragondomain.com
    service: http://localhost:80

  - service: http_status:404```
<span class="line"><span style="color: #85E89D">tunnel</span><span style="color: #E1E4E8">: </span><span style="color: #9ECBFF">422979c4-XXXX-XXXX-XXXX-XXXXXX</span></span>
<span class="line"><span style="color: #85E89D">credentials-file</span><span style="color: #E1E4E8">: </span><span style="color: #9ECBFF">C:\Users\XXXXXXX\.cloudflared\422979c4-XXXX-XXXX-XXXX-XXXXXX.json</span></span>
<span class="line"></span>
<span class="line"><span style="color: #85E89D">ingress</span><span style="color: #E1E4E8">:</span></span>
<span class="line"><span style="color: #E1E4E8">  - </span><span style="color: #85E89D">hostname</span><span style="color: #E1E4E8">: </span><span style="color: #9ECBFF">webhook.XXXXXX.co.uk</span></span>
<span class="line"><span style="color: #E1E4E8">    </span><span style="color: #85E89D">service</span><span style="color: #E1E4E8">: </span><span style="color: #9ECBFF">http://localhost:18080</span></span>
<span class="line"></span>
<span class="line"><span style="color: #E1E4E8">  - </span><span style="color: #85E89D">hostname</span><span style="color: #E1E4E8">: </span><span style="color: #9ECBFF">mylaragondomain.com</span></span>
<span class="line"><span style="color: #E1E4E8">    </span><span style="color: #85E89D">service</span><span style="color: #E1E4E8">: </span><span style="color: #9ECBFF">http://localhost:80</span></span>
<span class="line"></span>
<span class="line"><span style="color: #E1E4E8">  - </span><span style="color: #85E89D">service</span><span style="color: #E1E4E8">: </span><span style="color: #9ECBFF">http_status:404</span></span>
```YAML

saved it and reset my tunnel, and just like that, I now have my own local version of a webhook tester ready to run at a moment’s notice