Skip to content

Instantly share code, notes, and snippets.

@esiqveland
Created April 7, 2016 20:01
Show Gist options
  • Save esiqveland/73a8ee171b3e8ab83c1811978af92b12 to your computer and use it in GitHub Desktop.
Save esiqveland/73a8ee171b3e8ab83c1811978af92b12 to your computer and use it in GitHub Desktop.
$ curl -v https://reisapi.ruter.no/StopVisit/GetDepartures/3011400
* Trying 188.95.245.89...
* Connected to reisapi.ruter.no (188.95.245.89) port 443 (#0)
* ALPN, offering http/1.1
* Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH
* successfully set certificate verify locations:
* CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
* TLSv1.2 (OUT), TLS header, Certificate Status (22):
* 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, Client hello (1):
* TLSv1.2 (OUT), TLS handshake, Finished (20):
* TLSv1.2 (IN), TLS change cipher, Client hello (1):
* TLSv1.2 (IN), TLS handshake, Finished (20):
* SSL connection using TLSv1.2 / ECDHE-RSA-DES-CBC3-SHA
* ALPN, server did not agree to a protocol
* Server certificate:
* subject: C=NO; ST=Oslo; L=Oslo; O=Intility AS; CN=*.ruter.no
* start date: Mar 19 00:00:00 2015 GMT
* expire date: Apr 11 12:00:00 2018 GMT
* subjectAltName: host "reisapi.ruter.no" matched cert's "*.ruter.no"
* issuer: C=US; O=DigiCert Inc; OU=www.digicert.com; CN=DigiCert SHA2 High Assurance Server CA
* SSL certificate verify ok.
> GET /StopVisit/GetDepartures/3011400 HTTP/1.1
> Host: reisapi.ruter.no
> User-Agent: curl/7.48.0
> Accept: */*
> Content-Type: application/json
>
< HTTP/1.1 200 OK
< Cache-Control: no-cache
< Pragma: no-cache
< Expires: -1
< Server: Microsoft-IIS/8.5
< X-AspNet-Version: 4.0.30319
< X-Powered-By: ASP.NET
< Date: Thu, 07 Apr 2016 20:00:56 GMT
< Content-Length: 0
<
* Connection #0 to host reisapi.ruter.no left intact
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment