[FIXED] How to download a png file from url?

Sorry… I’m probably doing something wrong here but I’m now getting this error when trying to run the workaround you gave me for the png_request() method.

AttributeError: module 'anvil' has no attribute 'http'

My server module imports look like:

import anvil.tables as tables
import anvil.tables.query as q
from anvil.tables import app_tables
import anvil.server
import requests