我通过 Rest request
将 HTTP server
发送到 VBA script
,如下所示:
HTTP.Open "PUT", rUrl, True
HTTP.SetRequestHeader "Host", rHost
HTTP.SetRequestHeader "Authorization", "Bearer " + rToken
HTTP.SetRequestHeader "Content-Length", Len(rBody)
HTTP.send rBody
在 Windows 10(64 位)上一切正常,但在 Windows 7(64 位)上出现运行时错误,位于 HTTP.send rBody
行:
您知道什么可能导致此错误吗?