Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]接口post请求参数是json格式的,请求后发现请求记录会自动带上空格,导致请求失败 #30589

Closed
spritelyl opened this issue Apr 24, 2024 · 3 comments
Assignees

Comments

@spritelyl
Copy link

联系方式

14707070227

MeterSphere 版本

v2.10.13-lts

使用外置数据库

问题描述

接口post请求参数是json格式的,请求后发现请求记录会自动带上空格,导致请求失败

重现步骤

  1. 创建接口,post 请求,添加json 请求参数不带空格
  2. 调试接口,查看请求内容发现会自动带上空格,导致请求失败

期待的正确结果

不要自动带上空格,请求成功

相关日志输出

附加信息

企业微信截图_17139491992384 企业微信截图_17139492406621
@github-actions github-actions bot added the 状态:待处理 已分配给相关处理人等待处理人处理并更新状态 label Apr 24, 2024
@Zhuzhiming123zhu Zhuzhiming123zhu added 状态:无法复现 最新发布版本不能复现的问题 and removed 状态:待处理 已分配给相关处理人等待处理人处理并更新状态 labels Apr 28, 2024
@Zhuzhiming123zhu
Copy link

您好,在最新版本没有复现,请您升级到最新版本再做操作

@spritelyl
Copy link
Author

最新版也有空格:
企业微信截图_17142968808376

@github-actions github-actions bot added 状态:待处理 已分配给相关处理人等待处理人处理并更新状态 and removed 状态:待用户反馈 labels Apr 28, 2024
@youliyuan-fit2cloud youliyuan-fit2cloud removed the 状态:无法复现 最新发布版本不能复现的问题 label Apr 30, 2024
@Hyyfit
Copy link

Hyyfit commented May 8, 2024

实际发出的请求是没有带上空格的,ms平台上只是做了格式化的展示,不改变请求实际发送的内容;

@Hyyfit Hyyfit closed this as completed May 8, 2024
@github-actions github-actions bot removed the 状态:待处理 已分配给相关处理人等待处理人处理并更新状态 label May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants