probot / smee-client

🔴 Receives payloads then sends them to your local server
https://smee.io
ISC License
421 stars 133 forks source link

Does smee convert from `application/x-www-form-urlencoded` to `application/json` automatically? #293

Open tanin47 opened 6 months ago

tanin47 commented 6 months ago

I tested a webhook using webhook.site, and it shows that the body is form-urlencoded. When I use smee client locally, the body that I get in my local server is a JSON (though the header is still application/x-www-form-urlencoded). I wonder if there's a way to disable to automatic conversion.

DrJume commented 5 months ago

We're also having the same issue! This causes different behaviour between local and prod. This is not acceptable, it should forward the body as is.

wolfy1339 commented 1 month ago

Probot and Octokit have never supported application/x-www-form-urlencoded

I merged #297, does that fix your issue