Skip to content

Instantly share code, notes, and snippets.

@geekforbrains
Created September 25, 2015 15:48
Show Gist options
  • Save geekforbrains/29b4139bfc82585a33df to your computer and use it in GitHub Desktop.
Save geekforbrains/29b4139bfc82585a33df to your computer and use it in GitHub Desktop.
cURL request to NSScreencast login
curl -v https://www.nsscreencast.com/login
* Trying 162.243.42.159...
* Connected to www.nsscreencast.com (162.243.42.159) port 443 (#0)
* TLS 1.2 connection using TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384
* Server certificate: www.nsscreencast.com
* Server certificate: COMODO RSA Domain Validation Secure Server CA
* Server certificate: COMODO RSA Certification Authority
* Server certificate: AddTrust External CA Root
> GET /login HTTP/1.1
> Host: www.nsscreencast.com
> User-Agent: curl/7.43.0
> Accept: */*
>
< HTTP/1.1 200 OK
< Server: nginx/1.1.19
< Date: Fri, 25 Sep 2015 15:45:21 GMT
< Content-Type: text/html; charset=utf-8
< Content-Length: 5525
< Connection: keep-alive
< Status: 200 OK
< X-Frame-Options: SAMEORIGIN
< X-XSS-Protection: 1; mode=block
< X-Content-Type-Options: nosniff
< ETag: W/"25f491eabe4ec7cc7d7694957e565820"
< Cache-Control: max-age=0, private, must-revalidate
< Set-Cookie: _nsscreencast_session=K0RNZjdUTkIxQVZkZnUxbjdMS2lXU0dkU1VESTBINUgrQjZzWlF2MC9NcjBuV3lFNktQdVFUczBNVWR3czgrWnp6blpJM0VzZWM5MitXTFRmSmxpbEtHM2E2WWtmOGo5clZ1Vkd3cXptM3k0d1NNMmNJaEtxcHdERG4yU2hPdGlFMGxZc1BZWTdkeFlLbGFkSmNMT3daQytlZXpwVU5Hd2dhR2ErdzZsNEsxRFByRTFVSGUwSm1wUkthNGE0U0tRLS13eFBIdll3UHlYMU10SVlsSVVtaWFnPT0%3D--0b6741563cd84a705b53d0189bac4fc33702ddc2; domain=nsscreencast.com; path=/; HttpOnly
< X-Request-Id: 97a9c83d-0321-40e7-9558-b0002b2040a0
< X-Runtime: 0.013072
<
<!DOCTYPE html>
<html>
.....
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment