Search found 67 matches: setrequestheader

Return to advanced search

Re: Soap Web Service - timeout request

Dear Darrell, Please try this: oHttp:Open( 'POST', cURL, .F. ) oHttp:SetRequestHeader( "Content-Type","application/xml") oHttp:SetRequestHeader( "Accept","*/*") oHttp:SetRequestHeader( "Authorization", "Basic ...
by Antonio Linares
Tue Jan 09, 2024 6:34 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Soap Web Service - timeout request
Replies: 4
Views: 704

Soap Web Service - timeout request

... [ </urn:FindRFIDQry>] cHttpSend += [ </soapenv:Body>] cHttpSend += [</soapenv:Envelope>] oHttp:Open( 'POST', cURL, .F. ) oHttp:SetRequestHeader( "Content-Type","application/xml") oHttp:SetRequestHeader( "Accept","*/*") oHttp:SetRequestHeader( ...
by cdmmaui
Mon Jan 08, 2024 9:13 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Soap Web Service - timeout request
Replies: 4
Views: 704

Subuir un fichero a un servidor

... CreateObject( "MSXML2.DOMDocument" ) ohttp := CreateObject( "MSXML2.XMLHTTP" ) ohttp:Open( "POST" , cUrl, .f.) oHttp:SetRequestHeader("Content-Type" , "multipart/form-data" ) oHttp:SetRequestHeader("file", cFile) try ohttp:Send( xJSon ...
by miarcod
Sun Nov 26, 2023 11:09 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Subuir un fichero a un servidor
Replies: 18
Views: 2285

XML, CON ARCHIVO ADJUNTO PDF

... 'Microsoft.XMLHTTP' ) END doc = CreateObject("MSXML2.DOMDocument.6.0") oHttp:Open( "POST" , ts_servidor , .F. ) oHttp:SetRequestHeader( "SOAPAction" , "token" ) oHttp:SetRequestHeader("Content-Type", "text/xml; charset=UTF-8" ...
by elmoiquique
Thu Sep 28, 2023 10:01 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: XML, CON ARCHIVO ADJUNTO PDF
Replies: 35
Views: 2286

Re: Harbour using phind.com AI undocumented API

Lo probé con lenguaje en castellano (cambiando la pregunta) y funcionó muy bien.
oHttp:SetRequestHeader( "Accept-Language", "sp; q=0.9" )
by cmsoft
Fri Apr 21, 2023 3:37 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Harbour using phind.com AI undocumented API
Replies: 12
Views: 1206

hb_jsonDecode() this Website

... Way   cUrl := "https://forums.fivetechsupport.com/viewtopic.php?t=42918"   oHttp:Open( "GET", cUrl, .F. )    oHttp:setRequestHeader( "User-Agent", "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Firefox/68.0" )   oHttp:Send()  ...
by Jimmy
Sun Mar 19, 2023 4:10 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: hb_jsonDecode() this Website
Replies: 2
Views: 308

Re: Webservice connecting to https

... oHttp := CreateObject( 'MSXML2.XMLHTTP' ) CATCH oHttp := CreateObject( 'Microsoft.XMLHTTP' ) END TRY oHttp:Open( "GET", cUrl, .F.) oHttp:SetRequestHeader( "KeyId", "xxx" ) oHttp:SetRequestHeader( "Accept", "*/*" ) oHttp:SetRequestHeader( "Content-Type", ...
by cdmmaui
Tue Dec 06, 2022 1:43 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Webservice connecting to https
Replies: 2
Views: 374

Re: Soap Web Service

... cXML , '##KEY##',cKeyOrbisFarma) // using Pablo Botella tools oHttp := TServerXMLHTTPRequest():New() oHttp:Open("POST",cURL,.F.) oHttp:SetReQuestHeader( "SOAPAction" , cAction ) oHttp:SetReQuestHeader( "Content-Type" , "text/xml;charset=UTF-8" ) oHttp:SetReQuestHeader( ...
by ramirezosvaldo2
Thu Jan 27, 2022 8:58 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Soap Web Service
Replies: 7
Views: 906

Re: Error on Windows Seven - download a file from a website

This may help: https://stackoverflow.com/questions/48530690/https-request-blocked-in-windows7 objXMLHTTP.setRequestHeader "Origin", ls_address I tried with that but Error description: (DOS Error -2147352567) WINOLE/1007 Errore nel supporto per il canale di protezione ...
by Silvio.Falconi
Wed Oct 06, 2021 8:14 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Error on Windows Seven - download a file from a website
Replies: 2
Views: 461

oAuth 2.0 Restful Web Service

... ) oHttp:Open( "POST","https:" + "/" + "/" + "api.carbonite.com:443/api/auth/login",.f. ) oHttp:SetRequestHeader( "Content-Type", "text/json" ) oHttp:Send( cLogin ) If oHttp:status == 200 cResponse := oHttp:ResponseText() Logit( ...
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

... // remplazar valor de token que te enviaran por correo y listo ... oHttp:SetRequestHeader("cache-control", "no-cache") ohttp:SetRequestHeader("content-type", "application/json" ) ohttp:SetRequestHeader("Authorization", ...
by Dioni
Sat May 22, 2021 6:13 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Web Services
Replies: 14
Views: 5838

error on createobject

... local URL:="https://api.telegram.org/bot"+cTOKEN+"/getUpdates" ohttp:Open( "POST" ,URL, .F. ) oHttp:SetRequestHeader("Accept" ,"application/xml") oHttp:SetRequestHeader("Content-Type","application/json") oDoc:async:=.f. ...
by Silvio.Falconi
Sat Jan 16, 2021 12:11 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: error on createobject
Replies: 2
Views: 517

Re: How to check the status of a url, with credentials

... cUrl, lText ) --> cContents For credentials we have to use: user = "someusername" password = "somepassword" xmlhttp.setRequestHeader "Authorization", "Basic " + Base64Encode(user + ":" + password)
by FWExplorer
Tue Dec 29, 2020 5:20 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to check the status of a url, with credentials
Replies: 6
Views: 541

Re: How to check the status of a url, with credentials

... cUrl, lText ) --> cContents For credentials we have to use: user = "someusername" password = "somepassword" xmlhttp.setRequestHeader "Authorization", "Basic " + Base64Encode(user + ":" + password)
by Antonio Linares
Tue Dec 29, 2020 5:03 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to check the status of a url, with credentials
Replies: 6
Views: 541
Next

Return to advanced search