Send()'s body> Ну и? Как его сформировать?
Поищи в MSDN. То, что мне первым попалось(sorry, на VBScript):
Dim strXML As String Dim strURL As String Dim objHTTPRequest As New MSXML.XMLHTTPRequest Dim objXMLDocument As New MSXML.DOMDocument strXML = "<TESTDOC>A Test XML Document</TESTDOC>" objXMLDocument.loadXML strXML objHTTPRequest.open "POST", "http://test.microsoft.com/xmltest.asp", False objHTTPRequest.setRequestHeader "Cookie", "cookietest=testvalue" ' Must repeat call to get cookie set objHTTPRequest.setRequestHeader "Cookie", "cookietest=testvalue"
objHTTPRequest.send objXMLDocument MsgBox objHTTPRequest.responseText Set objXMLDocument = Nothing Set objHTTPRequest = Nothing |