def ulogin_response(self, token, host):
response = requests.get(<EOL>settings.TOKEN_URL,<EOL>params={<EOL>'<STR_LIT>': token,<EOL>'<STR_LIT:host>': host<EOL>})<EOL>content = response.content<EOL>if sys.version_info >= (<NUM_LIT:3>, <NUM_LIT:0>):<EOL><INDENT>content = content.decode('<STR_LIT:utf8>')<EOL><DEDENT>return json.loads(content)<EOL>
Makes a request to ULOGIN