refit icon indicating copy to clipboard operation
refit copied to clipboard

[BUG] Bad gateway (502) when using GET request with Body when using Refit 6 in Azure

Open LarsCelie opened this issue 2 years ago • 0 comments

Describe the bug

A GET request with a [Body] results in a bad gateway when the API is hosted in Azure on Refit 6.

Steps To Reproduce Host API with GET request with [body] on a Azure App Service Call this API with Refit 6

Expected behavior A 200 response OK status.

Environment

  • OS: Azure App Service
  • Device: Not relevant
  • Version: Refit 6.3.2
  • Working Version: Refit 5.2.4

Additional context The same solution with Refit 5 works fine. But this wasn't mentioned in the breaking changes section. Using local development also works fine. Using <RefitSettings.Buffered = true> will make it work

LarsCelie avatar Jun 08 '22 12:06 LarsCelie