Uploading Media Assets
When uploading media to the oversight platform through signed urls, it is crucial to ensure that the Content-Type
header is included in your request. This header specifies the media type of the resource being uploaded, which helps the oversight platform understand how to process the file.
Sample Request
Below is a sample curl
request to upload a media file. Make sure to include the Content-Type
header in your request with the correct type.
Other Content Types
Here are some examples of other Content-Type
headers you might use depending on the type of file you are uploading:
For a PNG image:
For a PDF document:
For an MP4 video file:
For a plain text file:
Always ensure that the Content-Type
header is included and correctly set to the media type of the file you are uploading.
Last updated
Was this helpful?