要在经典 asp 页面上发布数据,我使用以下代码
Dim stringXML, httpRequest, postResponse
stringXML = "<?xml version=""1.0"" encoding=""UTF-8""?><School><Class>5</Class></School>"
Set httpRequest = Server.CreateObject("MSXML2.ServerXMLHTTP.6.0")
httpRequest.Open "POST", "http://www.mywebpage/TestVBScript/RecieveRequest.asp", True
httpRequest.SetRequestHeader "Content-Type", "text/xml"
httpRequest.Send stringXML
现在我想在 RecieveRequest.asp 页面上获取 stringXML 值。这样我就可以处理我的 XML 并发送回响应
任何帮助将不胜感激。提前致谢