diff --git a/py/api.py b/py/api.py index ad52667..6eb7cc0 100644 --- a/py/api.py +++ b/py/api.py @@ -23,7 +23,7 @@ class API: self.ai = AI() def run(self): - @self.app.route('/interstellar/api/ai_create', methods=['POST']) + @self.app.route('/interstellar/api/ai_create', methods=['GET']) def create_ai(): self.ai_response.append("") return jsonify({'status': 200, 'access_token': len(self.ai_response) - 1})