SyntaxFix
Write A Post
Hire A Developer
Questions
try to use TryAddWithoutValidation
var client = new HttpClient(); client.DefaultRequestHeaders.TryAddWithoutValidation("Content-Type", "application/json; charset=utf-8");