Search found 23 matches: urlencoded

Return to advanced search

Re: Consulta a un servidor

Podria ser una incopatibilidad entre tu set de caracteres y el que espera el servidor
Prueba envair en el content type el set: Algo asi: "Content-Type: application/x-www-form-urlencoded; charset=utf-8"
by cmsoft
Mon Dec 11, 2023 12:01 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Consulta a un servidor
Replies: 5
Views: 1256

Re: Una envio con Post SOLUCIONADO

... Aqui les dejo como quedo la funcion de consulta, que puede ser util cuando "content-type" es -->> "application/x-www-form-urlencoded" Gracias a todos Lubin FUNCTION FSUNAT_GET_TOKEN(w_client_id,w_client_secret)************************************************************************************************************ ...
by cjcardoza
Fri Jun 16, 2023 4:22 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Una envio con Post ** SOLUCIONADO **
Replies: 14
Views: 2339

Re: Una envio con Post SOLUCIONADO

... Aqui les dejo como quedo la funcion de consulta, que puede ser util cuando "content-type" es -->> "application/x-www-form-urlencoded" Gracias a todos Lubin FUNCTION FSUNAT_GET_TOKEN(w_client_id,w_client_secret)************************************************************************************************************ ...
by LuisPonce
Fri Jun 16, 2023 1:20 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Una envio con Post ** SOLUCIONADO **
Replies: 14
Views: 2339

Peticion POST a xHarbour

... ""); conexion.setRequestMethod("GET"); conexion.setRequestProperty("Content-Type","application/x-www-form-urlencoded"); conexion.setRequestProperty("Content-Length", ", " + Integer.toString(urlParametros.getBytes().length)); conexion.setRequestProperty("Content-Language", ...
by servicomver
Mon Jun 05, 2023 11:15 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Peticion POST a xHarbour
Replies: 3
Views: 605

Re: Una envio con Post SOLUCIONADO

... Aqui les dejo como quedo la funcion de consulta, que puede ser util cuando "content-type" es -->> "application/x-www-form-urlencoded" Gracias a todos Lubin FUNCTION FSUNAT_GET_TOKEN(w_client_id,w_client_secret)************************************************************************************************************ ...
by lubin
Sun Mar 20, 2022 8:20 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Una envio con Post ** SOLUCIONADO **
Replies: 14
Views: 2339

Re: Una envio con Post

... --request POST 'https://api-seguridad.sunat.gob.pe/v1/clientesextranet/0001/oauth2/token/' \--header 'Content-Type: application/x-www-form-urlencoded' \--header 'Cookie: TS019e7fc2=019edc9eb833efa208ebafe19a0cb31458a80273fee6dbdcea86918dff131d7cc6c12a3f038f6fb103241babd7b41e2f28dd90b2c6' ...
by cmsoft
Sat Mar 19, 2022 10:24 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Una envio con Post ** SOLUCIONADO **
Replies: 14
Views: 2339

Una envio con Post ** SOLUCIONADO **

... cliente_id /oauth2/token/ client_id: Es el ID_cliente En el cuerpo(Body) de la consulta deberá ser de tipo “x-www-form-urlencoded” y enviaremos estas Keys: grant_type = client_credentials scope = https://api.sunat.gob.pe/v1/contribuyente/contribuyentes client_id = ID_cliente ...
by lubin
Fri Mar 18, 2022 10:34 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Una envio con Post ** SOLUCIONADO **
Replies: 14
Views: 2339

New FTDN November/Noviembre (FWH 21.11)

... https://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-setsyscolors * New function FW_URLENCODE( cText ) --> urlencoded string \source\function\str2hex.c * New readonly DATA LastValidValue in TControl class: This data is updated by all controls, when valid ...
by Antonio Linares
Tue Nov 30, 2021 7:19 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN November/Noviembre (FWH 21.11)
Replies: 2
Views: 1891

WebServices Request

... request. It should look like this POST /Services.asmx/PMSVRExport? HTTP/1.1 Host: visitortaxtest.deskline.net Content-Type: application/x-www-form-urlencoded betriebnr=XXXXXX&companyCode=VTPMSTEST&communityNumber=12345&stringDateFrom=2020-01-01&stringDateTo=2020-01-20 Can you please ...
by Iris Gesser
Wed Jan 27, 2021 9:09 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: WebServices Request
Replies: 3
Views: 728

Re: Webservices

... ,.F. ) CATCH MsgInfo("Error al conectarse con el WebService!") END oHttp:setRequestHeader('Content-type', 'application/x-www-form-urlencoded') oHttp:SetRequestHeader( 'Connection:', 'Keep-Alive' ) oHttp:SetRequestHeader( 'Content-length: ', len( cXml ) ) TRY oHttp:send(cXml) // ...
by mterraz
Wed Mar 30, 2016 4:19 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Webservices
Replies: 8
Views: 5615

Re: API Google. Ejemplos

... Function SendPostToUrl( cUrl, cParams,cContentType,cAuthorization ) Local oOle,cRet:='',uRet default cContentType:="application/x-www-form-urlencoded" default cAuthorization:="" Try oOle := CreateObject( 'MSXML2.XMLHTTP' ) Catch oOle := CreateObject( 'Microsoft.XMLHTTP' ) ...
by jorjio
Mon Sep 21, 2015 9:26 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: API Google. Ejemplos
Replies: 30
Views: 11006

Re: Sending and Receiving XML Data

... to connect to " + cUrl ) RETURN (.F.) END TRY //loHyperlink:setRequestHeader("Content-Type", "application/x-www-form-urlencoded") loHyperlink:setRequestHeader("Content-Type", "text/xml") CATCH MsgInfo( "unable to set request header" ...
by cdmmaui
Thu Feb 14, 2013 4:49 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Sending and Receiving XML Data
Replies: 11
Views: 3184

Re: API Google. Ejemplos

... Conect to WebService xmldoc:open("POST", url, .F.) xmldoc:setrequestheader("Content-Type","application/x-www-form-urlencoded") xmldoc:setRequestHeader("SOAPAction", "nfseaction/ANFSE.Execute" ) Making XML for WebService Texto := '<?xml ...
by hmpaquito
Wed Jan 16, 2013 6:13 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: API Google. Ejemplos
Replies: 30
Views: 11006

API Google. Ejemplos

... Function SendPostToUrl( cUrl, cParams,cContentType,cAuthorization ) Local oOle,cRet:='',uRet default cContentType:="application/x-www-form-urlencoded" default cAuthorization:="" Try oOle := CreateObject( 'MSXML2.XMLHTTP' ) Catch oOle := CreateObject( 'Microsoft.XMLHTTP' ) ...
by softruz
Tue Jan 15, 2013 8:32 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: API Google. Ejemplos
Replies: 30
Views: 11006

Re: HTTP Post

... TRY loHyperlink:Open( "POST", cURL, .f. ) loHyperlink:setRequestHeader("Content-Type", "application/x-www-form-urlencoded") cxml := "xml=" + cxml loHyperlink:Send(cXML ) CATCH MsgAlert( "Error Transmitting XML", Ptitle ) END if (At( "SUCCESS", ...
by cdmmaui
Mon Apr 16, 2012 3:30 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: HTTP Post
Replies: 6
Views: 1543
Next

Return to advanced search