code: def get_resource(url):
      
      response = DAO.getURL(url, {'Accept': 'application/json',
                                  'Connection': 'keep-alive'})
      if response.status != 200:
          raise DataFailureException(url, response.status, response.data)
      return json.loads(response.data)
docs: Issue a GET request to SWS with the given url
      and return a response in json format.
      :returns: http response with content in json