Before starting the translation process, you should upload your file to Cloud S3 storage and only then send request to translate it. To do this, send POST request to https://api.groupdocs.cloud/v2.0/translation/file/upload GroupDocs.Translation Cloud REST API endpoint. This request doesn’t require authorization.
You should provide a local path to your file in JSON format in the request body.
As a result, you will receive URL to your file, that you should provide in translation request body.
cURL example
curl --location --request POST 'https://api.groupdocs.cloud/v2.0/translation/file/upload'\
--header 'Content-Type: application/json'\
--F "path=@/path/to/myfile.pdf"}'
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.