PC SOFT

PROFESSIONAL NEWSGROUPS
WINDEVWEBDEV and WINDEV Mobile

Home → WINDEV 25 → Como usar WebAPIs ASP.NET com certificado digital pelo windev?
Como usar WebAPIs ASP.NET com certificado digital pelo windev?
Started by BOLLER, Dec., 13 2019 5:46 PM - No answer
Registered member
3,651 messages
Popularité : +175 (223 votes)
Posted on December, 13 2019 - 5:46 PM
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/