Forum Xamarin.Forms
We are excited to announce that the Xamarin Forums are moving to the new Microsoft Q&A experience. Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

We encourage you to head over to Microsoft Q&A for .NET for posting new questions and get involved today.

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.