Amigo gracias por responder pero nada :(
Ahora esta devolviendo el error
Ahora esta devolviendo el error
SSL connect error聽 聽 聽 聽 聽 聽 curl_global_init()
聽 聽 聽 聽 聽 聽 oCurl := curl_easy_init()
聽 聽 聽 聽 聽 聽 if !empty( oCurl )
聽 聽 聽 聽 聽 聽 聽 聽 curl_easy_setopt( oCurl, HB_CURLOPT_DEFAULT_PROTOCOL, "https" )
聽 聽 聽 聽 聽 聽 聽 聽 curl_easy_setopt( oCurl, HB_CURLOPT_URL, ::urlenvio )
聽 聽 聽 聽 聽 聽 聽 聽 AAdd( aHeaders, "authorization: Basic "+cBas64 )
聽 聽 聽 聽 聽 聽 聽 聽 AAdd( aHeaders, "content-type : application/json" ) 聽
聽 聽 聽 聽 聽 聽 聽 聽 AAdd( aHeaders, "cache-control : no-cache" ) 聽
聽 聽 聽 聽 聽 聽 聽 聽 curl_easy_setopt( oCurl, HB_CURLOPT_HTTPHEADER, aHeaders )
聽 聽 聽 聽 聽 聽 聽 聽 curl_easy_setopt( oCurl, HB_CURLOPT_CONNECTTIMEOUT , 100 )
聽 聽 聽 聽 聽 聽 聽 聽 curl_easy_setopt( oCurl, HB_CURLOPT_POST, 1)
聽 聽 聽 聽 聽 聽 聽 聽 //curl_easy_setopt( oCurl, HB_CURLOPT_CUSTOMREQUEST, "POST")
聽 聽 聽 聽 聽 聽 聽 聽 curl_easy_setopt( oCurl, HB_CURLOPT_POSTFIELDS, ::cdnaJson )
聽 聽 聽 聽 聽 聽 聽 聽 curl_easy_setopt( oCurl, HB_CURLOPT_SSL_VERIFYHOST, .F. )
聽 聽 聽 聽 聽 聽 聽 聽 curl_easy_setopt( oCurl, HB_CURLOPT_SSL_VERIFYPEER, .F. )
聽 聽 聽 聽 聽 聽 聽 聽 curl_easy_setopt( oCurl, HB_CURLOPT_DL_BUFF_SETUP )
聽 聽 聽 聽 聽 聽 聽 聽 curl_easy_setopt( oCurl, HB_CURLOPT_ENCODING, "UTF-8" )
聽 聽 聽 聽 聽 聽 聽 聽 cError := curl_easy_perform( oCurl )
聽 聽 聽 聽 聽 聽 聽 聽 if !Empty( cError )
聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 MsgInfo( curl_easy_strerror( cError ), "Error" )
聽 聽 聽 聽 聽 聽 聽 聽 endif
聽 聽 聽 聽 聽 聽 聽 聽 cTexto 聽:= curl_easy_dl_buff_get( oCurl )
聽 聽 聽 聽 聽 聽 聽 聽 fw_memoedit( cTexto ) //Creo que aqui viene la respuesta
聽 聽 聽 聽 聽 聽 聽 聽 curl_easy_reset( oCurl )
聽 聽 聽 聽 聽 聽 endif
聽 聽 聽 聽 聽 聽 curl_global_cleanup()Saludos
LEANDRO AREVALO
Bogot谩 (Colombia)
https://hymlyma.com
https://hymplus.com/
leandroalfonso111@gmail.com
leandroalfonso111@hotmail.com
[ Turbo Incremental Link64 6.98 Embarcadero 7.70 ] [ FiveWin 25.01 ] [ xHarbour 64 bits) ]
LEANDRO AREVALO
Bogot谩 (Colombia)
https://hymlyma.com
https://hymplus.com/
leandroalfonso111@gmail.com
leandroalfonso111@hotmail.com
[ Turbo Incremental Link64 6.98 Embarcadero 7.70 ] [ FiveWin 25.01 ] [ xHarbour 64 bits) ]