2. Upload Image

1 Sample code

    # You already got the upload_url in the first step 
    with open(pose_path, 'rb') as file:
        response = requests.put(upload_url, data=file)
        if response.status_code == 200:
            print(response)
        else:
            raise Exception('upload failed!')

Last updated