winhttprequest

WinHttp.WinHttpRequest in .NET

Is there a built-in .NET class that can replace or work like WinHttp.WinHttpRequest? Thanks! ...

differences between Msxml2.ServerXMLHTTP and WinHttp.WinHttpRequest?

just when I finally understood the difference between Msxml2.XMLHTTP and Msxml2.ServerXMLHTTP http://support.microsoft.com/kb/290761 XMLHTTP is designed for client applications and relies on URLMon, which is built upon Microsoft Win32 Internet (WinInet). ServerXMLHTTP is designed for server applications and relies on a new HTTP clie...

Mantis BT export request via "WinHttp.WinHttpRequest.5.1"

Hello, My boss asked me to export the corp's Mantis bugs database to Excel, but he can't give me access to the SQL Server, and the process has to be automated. The ONLY thing I can use is Excel (no ODBC, no manual export). So I managed to do this : Dim webClient As Object Dim i As Long, vFF As Long, oResp() As Byte Dim vLocalFile As...

Progress indication with HTTP file download using WinHTTP

Hi, I want to implement an progress bar in my C++ windows application when downloading a file using WinHTTP. Any idea how to do this? It looks as though the WinHttpSetStatusCallback is what I want to use, but I don't see what notification to look for... or how to get the "percent downloaded"... Help! Thanks! ...

how to remove cookie from winhttprequest in vb.net

Hi, Public WithEvents httpc As New WinHttp.WinHttpRequest httpc.Option(WinHttp.WinHttpRequestOption.WinHttpRequestOption_EnableRedirects) = True httpc.Open("GET", "http://www.yahoo.com/") httpc.Send() i want to remove cookies in for first request. how can do that? pls help ...

Do I really need to register WinHttp on Windows Server 2008 before using WinHttpRequest.5.1?

Basically I think this is a bug in Windows Server 2008, but I am not a COM ninja so it seems equally likely that I'm just doing something dumb. The question is: bug or programmer error? We use WinHttpRequest (the ActiveX component of WinHttp) to read http:// and https://. The ProgID we are using to look up the component is WinHttp.WinHt...

Perform HTTP Post from within Excel and Parse Results

I have access to an API. The API takes an XML post as input and then returns an XML response with the relevant data. I want to Send the HTTP Post to the Server (Authentication and Request will be sent together) Receive the response (One of the options to be returned is CSV or XML) Insert the data into the appropriate rows and column...

Windows 7: Automatic Logon Policy not working for winhttp API VB6 activeX control

I'm using WinHttp to do POSTs in a VB6 activeX control as follows Set WinHttpReq = New WinHttpRequest WinHttpReq.Open "POST", strUrl, False WinHttpReq.SetAutoLogonPolicy AutoLogonPolicy_Always aPostBody = 'Sometext' WinHttpReq.Send aPostBody UploadFile = WinHttpReq.ResponseText This works great on windows XP (all versions of IE), but ...

winHTTP GET request C++

I'll get right to the point. This is what a browser request looks like GET /index.html HTTP/1.1 This is what winHTTP does GET http://site.com/index.html HTTP/1.1 Is there any I can get the winHTTP request to be the same format as the regular one? I'm using VC++ 2008 if it makes any difference ...

Script to determine if an HTTP reponse is from intended domain.

I am trying to write a script that will send an HTTP "GET" to a URL then determine if the response came from the same domain or not. I have been playing around with VBS and the WinHttp.WinHttpRequest.5.1 object. Sadly this does not give me any access to where exactly the response came from. I tried parsing through the response header...

[VB6] Post Method + WinHttpRequest + multipart/form-data

I'm stumped why this doesn't work can't seem to find any problems. Here is the code. Public Const MULTIPART_BOUNDARY = "speed" Function getBalance() As String Dim sEntityBody As String Dim postBody() As Byte Dim username As String Dim password As String username = CStr(frmMain.txtUser.text) password = CStr(frmMain.txtPass.text) sEnti...