I’m trying to translate my web page… i’m sending html data in request but i’m not geeting translated content in response
{status: 200, from: “fr”, to: “it”, original_text: “[object HTMLBodyElement]”,…}
from: "fr"
original_text: "[object HTMLBodyElement]"
status: 200
to: "it"
translated_characters: 24
translated_text: {it: “[oggetto HTMLBodyElement]”}
i’m getting above response… i’m not sure if i’m making any mistake in sending html date in request
Junte-se à discussão - adicione o comentário abaixo:
Hi,
Looks like the way you are fetching or parsing the html text in your code is not correct, so you are not sending [object HTMLBodyElement] instead of your intended html code.
Please find a solution according to the programming language you use in here
Thanks