Closed EvgeniyKorepov closed 3 years ago
I get WINHTTP error 12152 when I try to access the API via HTTP WinAPI - ERROR_WINHTTP_INVALID_SERVER_RESPONSE 12152 The server response cannot be parsed.
I suspect that the error appears due to an incorrect header given by the excavator:
HTTP/1.0 200 OK Content-Length: 21 Content-Type: application/json Pragma: no-cache Cache-Control: no-cache Expires: 0 Excavator-Version: 1.6.2b Access-Control-Allow-Origin: * Access-Control-Allow-Methods: POST, GET, DELETE, PUT, PATCH x-request-id,x-user-agent: {"id":1,"error":null}
You are right. Thanks. Will be fixed in next version.
Fixed.
I get WINHTTP error 12152 when I try to access the API via HTTP WinAPI - ERROR_WINHTTP_INVALID_SERVER_RESPONSE 12152 The server response cannot be parsed.
I suspect that the error appears due to an incorrect header given by the excavator: