From 8e39b0b7d3560858345004c5cc121d2943f40a46 Mon Sep 17 00:00:00 2001 From: Timo Behrens Date: Wed, 23 Nov 2022 14:51:17 +0100 Subject: [PATCH] Improve docs for upload via url --- source/index.html.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/source/index.html.md b/source/index.html.md index 7870dfe..fa75f5a 100644 --- a/source/index.html.md +++ b/source/index.html.md @@ -309,6 +309,10 @@ You can let the automatic speech recognition engine determine the language of up _If you need support for a different file format, please get in touch with us: info (at) amberscript (dot) com_ +## Uploading A File by URL +Upload a file from a remote location - for example a file stored on AWS S3. The file has to be publicly accessible from a URL or it has to be presigned download URL. + +> Please note that this endpoint uses parameters in the body of the request. ```java HttpResponse response = Unirest.post("https://api.amberscript.com/api/jobs/upload-media-from-url?apiKey={{YOUR_API_KEY}}") @@ -381,8 +385,6 @@ curl --request POST --url 'https://api.amberscript.com/api/jobs/upload-media-fro } ``` -## Uploading A File by URL - ### HTTP Request `POST /jobs/upload-media-from-url`