Makes a request to ULOGIN

def ulogin_response(self, token, host):
        """
        Makes a request to ULOGIN
        """
        response = requests.get(
            settings.TOKEN_URL,
            params={
                'token': token,
                'host': host
            })
        content = response.content

        if sys.version_info >= (3, 0):
            content = content.decode('utf8')

        return json.loads(content)