Hi i have a controller to return translations:
[HttpGet("/api/getpublictranslations")]
public async Task<Dictionary<string, string>> Getpublictranslations([FromQuery(Name = "locale")] string locale
{
try
{
return await _translationBusiness.GetPublicTranslation(locale);
}
catch (Exception ex)
{
_logger.LogError(ex.Message, ex);
throw;
}
}
when i test my api i have some escape character on the reponse of api normally \n
and not \\n
do you know how can i delete this escape character from reponse?