Question : set ByteArrayContent content type json
Answered by : tomer-zaks
content.Headers.ContentType = new MediaTypeHeaderValue(MediaTypeNames.Application.Json);
Source : https://stackoverflow.com/questions/10679214/how-do-you-set-the-content-type-header-for-an-httpclient-request | Last Update : Tue, 15 Mar 22