题目详情
单选题 以下哪段代码能正确发起带查询参数的 GET 请求
A. uni.request({ url: "https://api.com?name=test", method: "GET" })
B. uni.request({ url: "https://api.com", method: "POST", data: { name: "test" } })
C. uni.request({ url: "https://api.com", method: "GET", data: "name=test" })
D. uni.request({ url: "https://api.com", method: "GET", data: { name: "test" } })

学科:默认课程
时间:2025-11-03 12:39:37
相关题目
相关作业
