PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → RESTSend not responding
RESTSend not responding
Iniciado por triantafillos, 30,sep. 2021 12:52 - 2 respuestas
Publicado el 30,septiembre 2021 - 12:52
Hello
In some pc's the RESTSend not responding today but in other pcs responding and its ok .


cMyRequest is restRequest
cMyRequest..URL = "my https url"
cMyRequest..Header["Accept"]= "application/json"
cMyRequest..ContentType = "application/json"
cMyRequest..Method= httpGet


cMyResponse is restResponse = RESTSend(cMyRequest)

Trace("cMyResponse.StatusCode : " + cMyResponse.StatusCode)
Trace("cMyResponse..Content : " + cMyResponse..Content)



-----------------------------

the cMyResponse.StatusCode in pc that not respond get 0 in ather pc that response i get 200 in same url request
any idea
Publicado el 30,septiembre 2021 - 16:05
Same problem in windev 25.
In version 20 it's ok.

I try to reinstall c++ on pc but not fixed
Publicado el 01,octubre 2021 - 12:23
Problem resolver after add

cMyRequest..IgnoreError= httpIgnoreExpiredCertificate + httpIgnoreInvalidCertificate + httpIgnoreInvalidCertificateName