content: sub getURLCall(url As String, requestType As String)
    loadingStart()
    ts = createObject("roDateTime").AsSeconds().toStr()
    hash = makemdfive(ts+getPrivateApiKey()+getPublicApiKey())
    url = url + "&apikey="+getPublicApiKey()+"&hash="+hash+"&ts="+ts
    m.contentRetriever = m.global.contentRetriever
    makeURLCallGet({uri:url,requestType:requestType})
  End sub
  
  sub makeURLCallGet(parameters as Object)
    context = createObject("RoSGNode","Node")
    if type(parameters) = "roAssociativeArray"
      context.addFields({
        parameters: parameters,
        response: {}
      })
      context.observeField("response","receiveRequestResponse")
      m.contentRetriever.requestGet = { context: context } ' initiate request and store context node as intermediary
    end if
  end sub
  
  
  sub receiveRequestResponse(msg as Object)
      mt = type(msg)
      if mt = "roSGNodeEvent"
      response = msg.getData()
      rt = type(response)
      if rt = "roAssociativeArray"
          requestType = response.parameters.requestType
          loadingStop()
          if response.code = 200
            if requestType="contentDataCall"
              loadContentData(response.content)
            end if
          else
          end if
      else
          print "[ERROR] HomeScreen: Expected response of type roAA, received response of type: '"; rt; "'"
      end if
      else
          print "[ERROR] HomeScreen: Received unknown response message of type: '"; mt; "'"
      end if
  end sub
  
  