This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -X "POST" "https://sandbox.strakertranslations.com/v3/translate/text" \ | |
-H "Authorization: Bearer <your_access_token>" \ | |
-H "Content-Type: application/x-www-form-urlencoded" \ | |
--data-urlencode "sl=English" \ | |
--data-urlencode "tl=Spanish" \ | |
--data-urlencode "title=job title" \ | |
--data-urlencode "payload=The content you wish translated." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -X "POST" "https://sandbox.strakertranslations.com/v3/translate/file" \ | |
-H "Authorization: Bearer <your_access_token>" \ | |
-H "Content-Type: multipart/form-data" \ | |
-F "sl=English" \ | |
-F "tl=Japanese" \ | |
-F "title=Job title" \ | |
-F "source_file=@<file_path_to_translate>" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -X "GET" "https://sandbox.strakertranslations.com/v3/translate?job_key=<job_key_to_get>" \ | |
-H "Authorization: Bearer <your_access_token>" \ | |
-H "Content-Type: application/x-www-form-urlencoded" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -X "POST" "https://sandbox.strakertranslations.com/v3/translate/cancel" \ | |
-H "Authorization: Bearer <your_access_token>" \ | |
-H "Content-Type: application/x-www-form-urlencoded" \ | |
--data-urlencode "job_key=<job_key_to_cancel>" |