title: Use Python to get image in Zapier
body: <p>I am trying to use a Python code step to download an image in Zapier. Here is some sample code (but it doesn't seem to work):</p>
  
  <pre><code>r = requests.get('https://dummyimage.com/600x400/000/fff')
  img = r.raw.read()
  return {'image_data': img}
  </code></pre>
  
  <p>The error I get is
  <code>Runtime.MarshalError: Unable to marshal response: b'' is not JSON serializable</code></p>
  
  <p>Does anyone know how I can use requests in a Python code step in Zapier to get an image? (I am trying to get the image and save it to Dropbox.)
  THANKS.</p>