Skip to content

Use POST with Translate API #4062

Description

@ppawiggers

I try to translate a piece of text that's more than 2000 characters. The limit of a GET request to the translate API is 2000 characters. So my idea was to POST instead of GET, but that does not seem to be configurable, see https://github.com/GoogleCloudPlatform/google-cloud-python/blob/master/translate/google/cloud/translate_v2/client.py#L234 .

Is it possible to use POST with Translate?

Metadata

Metadata

Labels

api: translationIssues related to the Cloud Translation API API.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions