PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → [WB18] - Awp page using httprequest
[WB18] - Awp page using httprequest
Iniciado por guest, 24,nov. 2017 16:26 - No hay respuesta
Publicado el 24,noviembre 2017 - 16:26
I have one AWP page using httpresquest to get data from one OPENID server.

At the beginnig everyting is ok but after some time the program starts to crash with errors in the msvcrt.ddl and the only way ot recover is to restart the server.

In attach is the error i can see in the events of the server.

My code is:
HTTPTimeOut(600000)
HTTP.IgnoreError = httpIgnoreInvalidCertificate+httpIgnoreInvalidCertificateName+httpIgnoreExpiredCertificate+httpIgnoreRedirectToHTTP+httpIgnoreRedirectToHTTPS
IF wproxy_ip<>"" THEN
Proxy(wproxy_ip,wproxy_port)
END

IF NOT HTTPRequest(openid_uri,"","Authorization: Bearer "+wtoken) THEN
sObject = [
{"erro":" -30"
}
]
// sObject=errorinfo(errFullDetails)
Envia_resultado()
END

resultado=HTTPGetResult(httpResult)
UTF8ToString(resultado)
[attachment 2506 error.jpg]