def create_case(self, case):
req = self.url + "<STR_LIT>"<EOL>data = case.jsonify()<EOL>try:<EOL><INDENT>return requests.post(req, headers={'<STR_LIT:Content-Type>': '<STR_LIT:application/json>'}, data=data, proxies=self.proxies, auth=self.auth, verify=self.cert)<EOL><DEDENT>except requests.exceptions.RequestException as e:<EOL><INDENT>raise CaseException("<STR_LIT>".format(e))<EOL><DEDENT>
:param case: The case details
:type case: Case defined in models.py
:return: TheHive case
:rtype: json