1,673 questions
Blazor/WebAssembly - Sending JSON body inside GET Request
Деян Цонев
21
Reputation points
Dear Microsoft community,
When sending GET request with httpClient.SendAsync I get this error:"TypeError: Failed to execute 'fetch' on 'Window': Request with GET/HEAD method cannot have body.".
Is there any way to workaround this, because I was hired to write frontend for web API which requires Get request with a body. My employer won't agree with any changes on the REST API
Thank you in advance!
Developer technologies .NET Blazor
Sign in to answer