我需要能够使用 Google translate API v2 库指定 POST 方法而不是 GET。这是我的代码:
Google.Apis.Translate.v2.TranslationsResource.ListRequest request = this.client.Translations.List( cadena, idiomaDestino );
request.Source = idiomaOriginal;
request.Format = Google.Apis.Translate.v2.TranslationsResource.Format.Html;
TranslationsListResponse response = request.Fetch();
if ( response.Translations.Count > 0 )
{
//Do something with the translations
}