GET api/App/Translate?text={text}&sourcelanguage={sourcelanguage}&targetlanguage={targetlanguage}

Translate text by use of the google.cloud.translation.v2 api

Request Information

URI Parameters

NameDescriptionTypeAdditional information
text

string

Default value is

sourcelanguage

string

Default value is nl

targetlanguage

string

Default value is fr

Body Parameters

None.

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>