def _send_features(self, features):
<EOL>try:<EOL><INDENT>r = requests.post(self.base_uri + self.api_endpoint, json=features, headers={'<STR_LIT>': self.api_key})<EOL><DEDENT>except requests.exceptions.ConnectionError:<EOL><INDENT>raise TFAPIUnavailable("<STR_LIT>")<EOL><DEDENT>if r.status_code != <NUM_LIT:200>:<EOL><INDENT>sys.stderr.write("<STR_LIT>" % r.text)<EOL>raise TFAPIUnavailable("<STR_LIT>"<EOL>.format(STATUS_CODE=r.status_code))<EOL><DEDENT>return json.loads(r.text)<EOL>
Send a query to the backend api with a list of observed features in this log file

:param features: Features found in the log file
:return: Response text from ThreshingFloor API