Use POST for MCP server refresh flow

This commit is contained in:
-LAN-
2025-09-27 02:09:30 +08:00
parent be13f79696
commit 695d89ef2d
3 changed files with 96 additions and 2 deletions

View File

@ -142,7 +142,7 @@ class AppMCPServerRefreshController(Resource):
@login_required
@account_initialization_required
@marshal_with(app_server_fields)
def get(self, server_id):
def post(self, server_id):
if not current_user.is_editor:
raise NotFound()
server = (