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

请问get请求怎样添加参数 #68

Open
LuYaHu opened this issue May 28, 2022 · 2 comments
Open

请问get请求怎样添加参数 #68

LuYaHu opened this issue May 28, 2022 · 2 comments

Comments

@LuYaHu
Copy link

LuYaHu commented May 28, 2022

image
首先这是我的代码部分
运行时候报错是这样的
image
那么请问如果我想在get请求里面添加一个json参数,比如这样,
image
应该怎么实现呢

@troyzhxu
Copy link
Owner

GET 请求只能添加 Url 或 Path 参数,POST 请求才能添加报文体参数。

@LuYaHu
Copy link
Author

LuYaHu commented May 28, 2022

好的,谢谢大佬

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