|
[广告] Excel易用宝 - 提升Excel的操作效率 · Excel / WPS表格插件 ★ 免费下载 ★ ★ 使用帮助★
Sub Main()
str1 = "{""data"":""32aaae5a1571ec081caba00bc630c88f28d148e9a400cacb69786fe5b282be38a70b8953e2afa0815402f213cb40bd1d5c7fa46a65746c2990b25ed6142355d61ac291ab971106d21d4e4f75a77de13245a7f3c96caf128fd476269260832f51"",""key_id"":""47"",""sign"":""8ec3356b"",""page"":1,""size"":10,""search"":""18925120322""}"
With CreateObject("WinHttp.WinHttpRequest.5.1")
.Open "post", "https://haoma.baidu.com/api/v1/search", False
.setRequestHeader "Referer", "https://haoma.baidu.com/phoneSearch?search=18925120322"
.Send (str1)
strtext = .responsetext
End With
Debug.Print strtext
End Sub
|
|