def METHOD_NAME(self):
    status_code = self.find_exit_code
    params = self.snaps_result
    self.send_response(status_code)
    self.send_header("Content-Type", "text/application+json")
    self.end_headers()
    response = json.dumps({"result": params}).encode()
    self.wfile.write(response)