I\'m trying to set the Content-Type header of an HttpClient object as required by an API I am calling.
Content-Type
HttpClient
I tried setting the Content-Ty
Content-Ty
For those who didn't see Johns comment to carlos solution ...
req.Content.Headers.ContentType = new MediaTypeHeaderValue("application/octet-stream");