Yo uso este tipo de c贸digo:
cURL:="http://www.fivetechsupport.com"
oHttp:=CreateObject("winhttp.winhttprequest.5.1")
oHttp:SetTimeouts(5000,5000,10000,10000)
oHttp:Open("GET",cUrl,.F.)
oHttp:Send()
oHttp:WaitForResponse()
cTexto:=oHttp:ResponseText() // Aqu铆 la respuesta del servidor
METODOS:
SetTimeouts: Specifies, in milliseconds, the individual time-out components of a send/receive operation.
Open: Opens an HTTP connection to an HTTP resource.
Send: Sends an HTTP request to an HTTP server.
WaitForResponse: Specifies the wait time, in seconds, for an asynchronous Send method to complete, with optional time-out value.
DATAS:
ResponseText: Read-only . Retrieves the response entity body as text.
Mas informaci贸n sobre el objeto "
WinHttpRequest" en el MSDN de Microsoft:
https://msdn.microsoft.com/es-es/library/windows/desktop/aa384106(v=vs.85).aspx
Mi abuelo dec铆a: Los aviones vuelan porque Dios quiere, y los helic贸pteros ni Dios sabe porque vuelan.
FWH 16.02, xHarbour 1.2.3, Harbour 3.2.0, WorkShop 4.5, AJ Make 0.30, Borlan BCC 7.00, VisualStudio 2013