Search found 67 matches: responsetext

Return to advanced search

Subuir un fichero a un servidor

... cFile) try ohttp:Send( xJSon ) catch Msginfo("Error en el envio del fichero) RETURN NIL end cRespuesta := ohttp:responseText ... Esto es lo que envio desde postman y que funciona curl --location 'https://www.zohoapis.eu/crm/v5/Leads/594992000001640002/Attachments' ...
by miarcod
Sun Nov 26, 2023 11:09 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Subuir un fichero a un servidor
Replies: 18
Views: 2287

XML, CON ARCHIVO ADJUNTO PDF

... 'Sin Conexion a Internet o Servidor Con Problemas' msginfo(cErrorMsg,"Intente Nuevamente") return .t. END response = ohttp:responseText //RESPUESTA DEL WS //BUSCAR PRINCIPIO Y FINAL pdfin:=at("%PDF-1.4",response) pdfend:=At("%EOF",response) largo:=pdfend-pdfin ...
by elmoiquique
Thu Sep 28, 2023 10:01 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: XML, CON ARCHIVO ADJUNTO PDF
Replies: 35
Views: 2293

Re: hb_jsonDecode() this Website

... cJson, @hHash ) works only if the first parameter is a vaid json text. If valid, second param by ref is filled with Hash. In this case. the responsetext() is NOT json text. ok understand so hb_jsondecode() is not a Solution for phpBB System "generated" Website
by Jimmy
Sun Mar 19, 2023 8:26 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: hb_jsonDecode() this Website
Replies: 2
Views: 308

Re: hb_jsonDecode() this Website

hb_jsondecode( cJson, @hHash )
works only if the first parameter is a vaid json text.
If valid, second param by ref is filled with Hash.

In this case. the responsetext() is NOT json text.
by nageswaragunupudi
Sun Mar 19, 2023 7:50 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: hb_jsonDecode() this Website
Replies: 2
Views: 308

Re: MSXML2.ServerXMLHTTP / readyState / Status

... and headers are available, but the response is not yet available. (3) INTERACTIVE Some data has been received. You can call responseBody and responseText to get the current partial results. (4) COMPLETED All the data has been received, and the complete data is available in responseBody and ...
by Jimmy
Sat Mar 18, 2023 11:14 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: MSXML2.ServerXMLHTTP / readyState / Status
Replies: 8
Views: 390

Re: Soap Web Service

... deletefile( "RequestActiva.xml" ) lMemowrite( "RequestActiva.xml",cXML) oHttp:Send( cXml ) cResponse := oHttp:responseText deletefile( "ResponseActiva.xml") lMemowrite( "ResponseActiva.xml",cResponse) IF oHttp:status = 200 oXml = CreateObject("Chilkat_9_5_0.Xml") ...
by ramirezosvaldo2
Thu Jan 27, 2022 8:58 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Soap Web Service
Replies: 7
Views: 906

Re: Problemas con curl al compilar con harbour

Leandro,

> response:=ohttp:responseText

Que valor tiene response ?
by Antonio Linares
Wed Jul 21, 2021 10:04 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Problemas con curl al compilar con harbour
Replies: 1
Views: 365

oAuth 2.0 Restful Web Service

... ) oHttp:SetRequestHeader( "Content-Type", "text/json" ) oHttp:Send( cLogin ) If oHttp:status == 200 cResponse := oHttp:ResponseText() Logit( Mcs_AppPath() + "Request.txt",cResponse ) Else MsgStop( "Status:" + oHttp:statusText,"Request Failed" ...
by byron.hopp
Wed Jun 16, 2021 9:27 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: oAuth 2.0 Restful Web Service
Replies: 2
Views: 695

Re: Web Services

... ohttp:Send('&xnruc') CATCH msginfo("No Se Pudo Enviar Documento JSON","Intente Nuevamente") return .t. END response:=ohttp:responseText ?response // repuesta con los datos de sunat o reniec
by Dioni
Sat May 22, 2021 6:13 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Web Services
Replies: 14
Views: 5839

Re: API Bancaria

Que valor tiene cCadena aqui ?

cCadena := oHttp:responseText
by Antonio Linares
Mon Apr 19, 2021 12:18 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: API Bancaria (SOLUCIONADO)
Replies: 17
Views: 2298

Manejo de WebServices

... oHttp:SetRequestHeader("Expect", "100-continue") oHttp:Send( cSoap ) IF ( oHttp:status == 200 ) MsgInfo(oHttp:ResponseText) ELSE MsgInfo(oHttp:statusText ) ENDIF
by noe aburto
Thu Oct 15, 2020 10:24 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Manejo de WebServices
Replies: 5
Views: 865

Re: How to get http response text

... )        oHtp:Open( "GET", cUrl, .F. )        oHtp:Send()        IF oHtp:Status != 200 THEN BREAK        cRes = oHtp:ResponseText    CATCH    END    RETURN cRes EMG Ok, perfect , this is the solution. Probably it was a memory leak or conflict, so by saving the oHtp:ResponseText ...
by lorenzoazz
Sun Oct 11, 2020 3:22 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to get http response text
Replies: 18
Views: 1776

Coordenadas geográficas

... ) oOle := CreateObject("Winhttp.WinHttpRequest.5.1") oOle:Open( "GET", cWeb + AllTrim( cMap ), .F. ) oOle:Send() cURL := oOle:ResponseText nPos1 := At( "/@", cUrl ) Msginfo(cWeb + AllTrim( cMap )) if !Empty( nPos1 ) nPos2 := At( "/data", cUrl ) cRet := Substr( ...
by jgabri
Sun Jun 07, 2020 4:15 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Coordenadas geográficas
Replies: 2
Views: 689

Problems with the Http request

... "GET", "https://MySait/xx.php?DNSID=wCx", 1) ohttp:Send (NIL) ....... and I want to get the HTML text of this page buf:=ohttp:responseText However, as a result, I get the HTML text of the main page of the MySait site. It turns out that the HTTP request is not triggered if the ...
by Natter
Tue Mar 17, 2020 7:43 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problems with the Http request
Replies: 3
Views: 736

CONSEGUIR LA FECHA Y HORA DE INTERNET

... oHttp:Open("GET","http://www.horacerta.com.br/index.php?city=buenos_aires",.f.) oHttp:Send() cResp1 := oHttp:ResponseText() // cResp tiene la respuesta de la pagina consultada Ahora bien Tengo otra aplicacion hecha con fw240 (16 bits) en la cual necesito hacer ...
by rterraz
Tue Feb 04, 2020 3:01 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: CONSEGUIR LA FECHA Y HORA DE INTERNET
Replies: 8
Views: 1522
Next

Return to advanced search