smee-client icon indicating copy to clipboard operation
smee-client copied to clipboard

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

Open tanin47 opened this issue 11 months ago • 2 comments

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.

tanin47 avatar Mar 03 '24 00:03 tanin47

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.

DrJume avatar Mar 13 '24 15:03 DrJume

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

I merged #297, does that fix your issue

wolfy1339 avatar Jul 22 '24 18:07 wolfy1339