okhttps icon indicating copy to clipboard operation
okhttps copied to clipboard

请问get请求怎样添加参数

Open LuYaHu opened this issue 3 years ago • 2 comments

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

LuYaHu avatar May 28 '22 06:05 LuYaHu

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

troyzhxu avatar May 28 '22 07:05 troyzhxu

好的,谢谢大佬

LuYaHu avatar May 28 '22 07:05 LuYaHu