diff --git a/server/src/Controllers/DebuggerController.cs b/server/src/Controllers/DebuggerController.cs index cfbac50..2085003 100644 --- a/server/src/Controllers/DebuggerController.cs +++ b/server/src/Controllers/DebuggerController.cs @@ -357,7 +357,7 @@ public class DebuggerController : ControllerBase /// /// 调试器配置信息,包含采样深度、端口数、通道配置等 /// 取消操作的令牌 - [HttpGet("ReadData")] + [HttpPost("ReadData")] [EnableCors("Users")] [ProducesResponseType(typeof(ChannelCaptureData[]), StatusCodes.Status200OK)] [ProducesResponseType(StatusCodes.Status400BadRequest)] diff --git a/src/APIClient.ts b/src/APIClient.ts index f712998..dc7c06d 100644 --- a/src/APIClient.ts +++ b/src/APIClient.ts @@ -2576,7 +2576,7 @@ export class DebuggerClient { let options_: AxiosRequestConfig = { data: content_, - method: "GET", + method: "POST", url: url_, headers: { "Content-Type": "application/json",