You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is how the official documentation specifies to use the .WithJsonBody method but using this will result in a request with the wrong headers.
The request should add a "Content-Type: application/json" header not the Accept header (which specifies the accepted response).
Using the WithJsonBody method now to do a post will result in an "UnsupportedMediaType" response.