PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 25 → Como usar WebAPIs ASP.NET com certificado digital pelo windev?
Como usar WebAPIs ASP.NET com certificado digital pelo windev?
Iniciado por BOLLER, 13,dic. 2019 17:46 - No hay respuesta
Miembro registrado
3.655 mensajes
Popularité : +175 (223 votes)
Publicado el 13,diciembre 2019 - 17:46
cMyRequest é restRequest
cMyRequest..IgnoreError = httpIgnoreInvalidCertificate
cMyRequest..IgnoreError = httpIgnoreInvalidCertificateName
cMyRequest..IgnoreError = httpIgnoreExpiredCertificate
cMyRequest..IgnoreError = httpIgnoreRedirection
cMyRequest..IgnoreError = httpIgnoreRedirectToHTTP
cMyRequest..IgnoreError = httpIgnoreRedirectToHTTPS
cMyRequest..URL = URLEncode (Apilink, encodeURLDepuisUnicode)
ReTVal = RESTSend (cMyRequest)
SE ErrorOccurred THEN

ErrorFlag = True //

OnError_m () //
ELSE
ErrorFlag = False
END


Atenção em usar http ou https ok

--
Adriano José Boller
______________________________________________
Consultor e Representante Oficial da
PcSoft no Brasil
+55 (41) 99949 1800
adrianoboller@gmail.com
skype: adrianoboller
http://wxinformatica.com.br/