I was previously trying with a worker and a netlify rewrite pointing at it, but thought I'd try using cloudflare pages with a custom domain instead to see if that helped
a simple _worker.js in a pages project, set up with a custom domain foo.example.com. it successfully receives requests, including a different webhook from the same source. the other webhook (a body full of XML) never gets to my worker
I'm literally stumped then. I don't see how the sender of a http request would fail to send that request only if the domain they are sending to ends up going to a cloudflare worker
the fact that it also doesn't work when transparently tunnelled through a netlify site makes me think that cf must not be allowing the request through based on what it looks like, rather than it being a problem with the sender
@Walshy but the fact that the request is going via a netlify rewrite should mean that to the requester it makes no difference where the response ultimately comes from, and it's impossible to tell
can't do anything with the caller, just had a look and don't think netlify lets you do anything with headers when rewriting.. what I was thinking of doing was putting a simple function on deno deploy that would forward the request to my worker, then if that doesn't work I'd be able to see what happens