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

Sends incorrect content #69

Open
hallgrimura17 opened this issue Mar 7, 2022 · 1 comment
Open

Sends incorrect content #69

hallgrimura17 opened this issue Mar 7, 2022 · 1 comment

Comments

@hallgrimura17
Copy link

With no specification the request sends the body as FormUrlEncodedContent then adds the header value for application/json
the call does not work since the content is wrong, changing to JsonContent.Create(dictionary_) fixes the issue, is this a problem on my end, I can't find information about this anywhere.

@enione
Copy link

enione commented Dec 16, 2022

With no specification the request sends the body as FormUrlEncodedContent then adds the header value for application/json the call does not work since the content is wrong, changing to JsonContent.Create(dictionary_) fixes the issue, is this a problem on my end, I can't find information about this anywhere.

It looks like an inherited bug from NSwag, see RicoSuter/NSwag#3414.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants