Request structure

We are going to make a request as follows:

Field Value
HTTP method POST
URL https://translation.googleapis.com/language/translate/v2?key=API_KEY
Request body
// SNIPP SNIPP
{
"target": "fr",
"q": "Hello World!"
}
// SNIPP SNIPP

In the previous request, we are providing the text that we want to translate to and the target language.

Do note that the source language need not be English alone.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.226.133.49