Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
LarsCelie opened this issue Jun 8, 2022 · 0 comments
Labels

Comments

@LarsCelie
Copy link

LarsCelie commented Jun 8, 2022

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 LarsCelie added the bug label Jun 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant