text: #!/usr/bin/env python3
  
  import os
  import requests
  
  # image folder path and website url
  images_path = "supplier-data/images/"
  website_url = "http://localhost/upload/"
  
  # parse every feedback txt file and add the contained information to the dictionary
  for f in os.listdir(images_path):
      if (f.endswith(".jpeg") | f.endswith(".jpg")):
          with open(os.path.join(images_path,f), "rb") as opened:
  
              # post image to website
              response = requests.post(website_url, files={"file": opened})
  
              # check for HTTP error messages
              response.raise_for_status()
  