0
A
回答
4
1
希望这有助于
Dim xhr As Object
Dim webServiceURL As String
Dim actionType As String
Dim thisRequest As String
Dim targetWord As String
WebServiceURL = "http://services.aonaware.com/DictService/DictService.asmx/"
actionType = "Define?word="
targetWord = "Marketplace"
thisRequest = webServiceURL & actionType & targetWord
'use late binding
Set xhr = CreateObject("Microsoft.XMLHTTP")
xhr.Open "GET", thisRequest, False
xhr.Send
If xhr.status = 200 Then
Debug.Print xhr.responseText
MsgBox xhr.getAllResponseHeaders
Else
MsgBox xhr.status & ": " & xhr.statusText
End If
Set xhr = Nothing
相关问题
- 1. 执行HTTP请求
- 2. 如何隐藏在angularjs $ http请求
- 3. 如何让http获取请求并隐藏请求的链接
- 4. HTTP请求(Python + VBA)
- 5. 执行PUT请求时的HTTP 403
- 6. 执行http请求的空例外Android
- 7. 根据前一个请求的角度执行http请求2
- 8. 更快的VBA隐藏行
- 9. 在android上执行Http请求
- 10. http请求将不会执行
- 11. Android - 如何执行HTTP GET请求?
- 12. 扭曲/执行异步http请求
- 13. 隐藏GET请求html/php
- 14. http请求的HTTP请求
- 15. Python:尝试使用请求登录并执行HTTP请求
- 16. 如何使用请求库执行HTTP DELETE请求
- 17. “隐藏”JavaScript HTTP请求的最佳做法?
- 18. 如何在执行并完成n个HTTP请求的列表后执行HTTP请求
- 19. 为什么你不能你监视“HTTP请求执行时间”,“HTTP请求的速率和‘宀从应用的见解在执行队列中’请求?
- 20. HTTP 1.1请求行
- 21. 如何在使用servlet时在HTTP请求中隐藏密码
- 22. C#HTTP GET请求返回隐藏字符
- 23. 隐藏的请求参数和简单的GET请求
- 24. 提交不会执行HTTP POST,但会执行http获取/请求
- 25. 卷曲请求隐藏在Facebook的
- 26. ajax请求后隐藏字段的值
- 27. 执行从jQuery的脚本GET请求
- 28. Jmeter请求执行
- 29. Jmeter发送HTTP请求到服务器的执行行为
- 30. 自动隐藏行 - Excel的VBA
没有你看看这个线程:http://stackoverflow.com/questions/158633/how-can-i-send-an-http-post-request-到一个服务器 - 从-Excel的使用,VBA? – JMax