Skip to content

Commit

Permalink
Improve docs for upload via url
Browse files Browse the repository at this point in the history
  • Loading branch information
timobehrens authored Nov 23, 2022
1 parent e739665 commit 8e39b0b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions source/index.html.md
Original file line number Diff line number Diff line change
Expand Up @@ -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<String> response = Unirest.post("https://api.amberscript.com/api/jobs/upload-media-from-url?apiKey={{YOUR_API_KEY}}")
Expand Down Expand Up @@ -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`
Expand Down

0 comments on commit 8e39b0b

Please sign in to comment.