C:\tmp\curl_test>for /F "tokens=*" %i in ('curl icanhazepoch.com') do set timest amp=%i % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 11 100 11 0 0 23 0 --:--:-- --:--:-- --:--:-- 23 C:\tmp\curl_test>set timestamp=1570794992 C:\tmp\curl_test>set req=36%3A34%3A0602001 C:\tmp\curl_test>set url="https://pkk5.rosreestr.ru/api/features/2?text=36%3A34% 3A0602001&tolerance=262259&limit=11&_=1570794992000" C:\tmp\curl_test>curl -v --http1.1 --tlsv1.2 --tls-max 1.2 -H @headers.txt "http s://pkk5.rosreestr.ru/api/features/2?text=36%3A34%3A0602001&tolerance=262259&lim it=11&_=1570794992000" * Trying 217.77.104.195:443... * TCP_NODELAY set * Connected to pkk5.rosreestr.ru (217.77.104.195) port 443 (#0) * ALPN, offering http/1.1 * successfully set certificate verify locations: * CAfile: C:\tmp\curl_test\curl-ca-bundle.crt CApath: none * TLSv1.2 (OUT), TLS handshake, Client hello (1): * TLSv1.2 (IN), TLS handshake, Server hello (2): * TLSv1.2 (IN), TLS handshake, Certificate (11): * TLSv1.2 (IN), TLS handshake, Server key exchange (12): * TLSv1.2 (IN), TLS handshake, Server finished (14): * TLSv1.2 (OUT), TLS handshake, Client key exchange (16): * TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1): * TLSv1.2 (OUT), TLS handshake, Finished (20): * TLSv1.2 (IN), TLS handshake, Finished (20): * SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256 * ALPN, server did not agree to a protocol * Server certificate: * subject: C=RU; L=Moscow; O=Federal Service Of State Registration Cadastre And Cartography; OU=IT; CN=*.rosreestr.ru * start date: Dec 21 00:00:00 2018 GMT * expire date: Feb 19 12:00:00 2020 GMT * subjectAltName: host "pkk5.rosreestr.ru" matched cert's "*.rosreestr.ru" * issuer: C=US; O=DigiCert Inc; OU=www.digicert.com; CN=GeoTrust RSA CA 2018 * SSL certificate verify ok. > GET /api/features/2?text=36%3A34%3A0602001&tolerance=262259&limit=11&_=1570794 992000 HTTP/1.1 > Host: pkk5.rosreestr.ru > Accept: text/javascript, application/javascript, application/ecmascript, appli cation/x-ecmascript, */*; q=0.01 > Accept-Language: en-US > Accept-Encoding: gzip, deflate > Referer: https://pkk5.rosreestr.ru/ > X-Requested-With: XMLHttpRequest > User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50 727) > * Mark bundle as not supporting multiuse < HTTP/1.1 200 OK < Date: Fri, 11 Oct 2019 11:56:32 GMT < Content-Type: application/json < Content-Length: 315 < Access-Control-Allow-Headers: Authentication, Content-Type < X-Backend: nginxapi2 < cache-control: public,max-age=86400 < age: 0 < Server: Cache1 < Access-Control-Allow-Origin: * < X-Service: /api/features/2 < X-Frame-Options: SAMEORIGIN < X-Cache: MISS < Accept-Ranges: bytes < X-t: 11/Oct/2019:14:56:02.345 < X-Ta: -230 < {"features": [{"attrs": {"cn": "36:34:0602001", "id": "36:34:602001"}, "center": {"x": 4362835.090300001, "y": 6748529.355899997}, "extent": {"xmax": 4367181.16 95574885, "xmin": 4361386.397274419, "ymax": 6752103.021618417, "ymin": 6746361. 904242292}, "sort": 36340602001, "type": 2}], "status": 200, "total": null}* Con nection #0 to host pkk5.rosreestr.ru left intact C:\tmp\curl_test>pause Press any key to continue . . .