code: def download_as_json(url):
      
      try:
          return Response('application/json', request(url=url)).read()
      except HTTPError as err:
          raise ResponseException('application/json', err)
docs: Download the data at the URL and load it as JSON