gpt4 book ai didi

asp-classic - 从经典 Asp 返回对象

转载 作者:行者123 更新时间:2023-12-04 03:09:29 25 4
gpt4 key购买 nike

我正在使用 Classic Asp 来构建对一个 url 的请求,现在这个问题是成功的
是我想从函数返回请求对象并获得以下内容
问题:
对象不支持此属性或方法,
我该怎么做 ?

Set objSrvHTTP = Server.CreateObject ("Msxml2.ServerXMLHTTP.3.0")
objSrvHTTP.open "POST","Https://",False,"",""
objSrvHTTP.SetRequestHeader "Content-Type", "text/xml"
objSrvHTTP.SetRequestHeader "Authorization", "Basic " & EncodeBase64("sales@nutritionexpress.co.uk:f00tball")
objSrvHTTP.SetRequestHeader "dev-t", " MyAccessKey "
objSrvHTTP.SetRequestHeader "Cookie", "ubid-main=172-9288630-2514702; session-id=026-6553457-3334020; session-id-time=1191279600l;"
objSrvHTTP.send
BuildRequest=objSrvHTTP

谢谢

最佳答案

改变

BuildRequest=objSrvHTTP  


Set BuildRequest=objSrvHTTP

返回对象。

关于asp-classic - 从经典 Asp 返回对象,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3907007/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com