1.根据参考文档发送数组参数,非预期结果
文档:https://doc.apipost.cn/df112c13a8c34b38
实际发送的http请求
GET /metrics HTTP/1.1
user-agent: ApiPOST Runtime +https://www.apipost.cn
accept: */*
accept-encoding: gzip, deflate, br
accept-language: zh-CN
connection: keep-alive
content-type: application/x-www-form-urlencoded
content-length: 41
Host: 10.9.10.54:9100
collect%5B0%5D=cpu&collect%5B1%5D=cpufreq
只能直接在url链接中写数组形式
这样才能传数组
这个是根据您接口设置调节的,一般get请求是无法加BODY参数的,您要看一下后台接口的设置