(2/2) Upload brand logo or favicon
POST https://videoask-uploads-prod.s3.amazonaws.com/
In this second request, you upload the binary contents of your image to the presigned_post_params
URL from the previous request.
In Python, for example, you can read the binary contents of your image and upload it to the URL using the following code snippet:
image_path = "/Users/andrew/Downloads/my_logo.png"
with open(image_path, 'rb') as f:
files = {'file': (image_path, f)}
response = requests.request("POST", "https://videoask-uploads-prod.s3.amazonaws.com/", data=json_response['presigned_post_params']['fields'], files=files)
After uploading your brand logo or favicon, you can use the image_id
from the first request when creating a brand in VideoAsk.
⚠️ 5MB is the max file size for the brand logo or favicon.