Forum Xamarin.Forms

Unsupported media type error in get requests

knbinojknbinoj Member ✭✭

From a Xamarin Forms application http client, I am receiving unsupported media type error in GET requests while communicating with Azure APIs. In Postman also I am receiving the same error, but it can be resolved by adding a header "Content-Type" with value "application/json". I could not add the "Content-Type" header in GET requests because it results in a compilation error. I tried getasync and sendasync methods. Any pointers on this?


Sign In or Register to comment.