I'm having a problem with some characters when I use HTTPCLient, where it would have to come
comes \u003cBR\u003e, I would have to solve this I have to use .Replace("\u003c", "<") .Replace("\u003e", ">")?
Am I using the following code?
using (HttpClient client = new HttpClient())
{
client.DefaultRequestHeaders.Accept.Add(new MediaTypeWithQualityHeaderValue("application/json"));
client.DefaultRequestHeaders.Add(header,
headerAuthenticationValue);
using (HttpResponseMessage response = await client.GetAsync(url))
{
using (HttpContent content = response.Content)
{
var tmpStr = await content.ReadAsStringAsync();
}
}
}
Redutor Completo And it's coming: Peças e Acessórios Originais ARNO\\u003cBR\\u003eRedutor Completo Another thing that has changed is that before I was on Visual Studio 2019 and Windows10 and now I'm on Ubuntu with VSCode, I started the migration on Ubuntu, but I don't think that's the problem. – Maykon Luiz Matos Araujo Jan 04 '22 at 12:00