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 feedback #15

Open
CyJaySong opened this issue Apr 18, 2023 · 9 comments
Open

Bug feedback #15

CyJaySong opened this issue Apr 18, 2023 · 9 comments

Comments

@CyJaySong
Copy link

有个bug,当前版本1.6.6; JSON请求数据,json模式展示时,导入不刷新为新内容问题,需要切换一下数据显示模式才能显示最新的内容

@WhiteCosmos
Copy link
Owner

是在Json编辑器模式下,点击右上角的导入图标之后,导入Json没有刷新吗?

@CyJaySong
Copy link
Author

image

当前模式下,导入JSON不会刷新

@CyJaySong
Copy link
Author

建议当前查看模式下也可以编辑

@WhiteCosmos
Copy link
Owner

建议当前查看模式下也可以编辑

因为有动态变量存在,预览模式是不可以编辑的。下个版本会修复这个BUG

@CyJaySong
Copy link
Author

CyJaySong commented Apr 19, 2023

@WhiteCosmos 直接可编辑原始json 请求体相对来说其实效率更高

@WhiteCosmos
Copy link
Owner

@WhiteCosmos 直接可编辑原始json 请求体相对来说其实效率更高

如果你更喜欢直接编辑的话,用旁边的 Text 模式就可以了,那个默认就是Json格式的

@CyJaySong
Copy link
Author

image

这个?这样的话,需要自己去header指定Content-Type吧,像postman或者Hoppscotch,如果没有指定Content-Type, 会根据请求数据这边选择的类型自动加,这样的话,类型与所选项不符了,不太好

@WhiteCosmos
Copy link
Owner

image

这个?这样的话,需要自己去header指定Content-Type吧,像postman或者Hoppscotch,如果没有指定Content-Type, 会根据请求数据这边选择的类型自动加,这样的话,类型与所选项不符了,不太好

不需要的, 用这个模式一样会帮你自动添加Content-Type

@CyJaySong
Copy link
Author

@WhiteCosmos 这样的话,它添加的应该是Text类型呀

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

2 participants