Return a “file download” response, not JSON. See here.
File is downloaded with original name, text content is downloaded with file name: “oht_<resource_uuid>.txt”
|resource_uuid||UUID of the desired resource.|
|project_id||(optional) Project ID, needed when requesting a resource that was uploaded by another user - e.g. as a project’s translation.|
curl GET "https://www.onehourtranslation.com/api/2/resources/rsc-527116d8f07a02-60735023/download?secret_key=<SECRET_KEY>&public_key=<PUBLIC_KEY>"