Skip to content

Instantly share code, notes, and snippets.

@tomspilman
Created August 6, 2016 19:58
Show Gist options
  • Select an option

  • Save tomspilman/dd3dd016e04f275d0fea88eaa9ac98f5 to your computer and use it in GitHub Desktop.

Select an option

Save tomspilman/dd3dd016e04f275d0fea88eaa9ac98f5 to your computer and use it in GitHub Desktop.
curl -X POST -H "Authorization: token 58d024e87229477876113deaba90b8e27b779675" -v https://api.github.com/repos/MonoGame/MonoGame/statuses/4e8d876371a92097319b2149d8a5a118bcedf151
* Trying 192.30.253.117...
* Connected to api.github.com (192.30.253.117) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH
* successfully set certificate verify locations:
* CAfile: T:\curl_7_50_1_openssl_nghttp2_x64\ca-bundle.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-AES128-GCM-SHA256
* ALPN, server accepted to use http/1.1
* Server certificate:
* subject: C=US; ST=California; L=San Francisco; O=GitHub, Inc.; CN=*.github.com
* start date: Apr 8 00:00:00 2014 GMT
* expire date: Apr 12 12:00:00 2017 GMT
* subjectAltName: host "api.github.com" matched cert's "*.github.com"
* issuer: C=US; O=DigiCert Inc; OU=www.digicert.com; CN=DigiCert SHA2 High Assurance Server CA
* SSL certificate verify ok.
> POST /repos/MonoGame/MonoGame/statuses/4e8d876371a92097319b2149d8a5a118bcedf151 HTTP/1.1
> Host: api.github.com
> User-Agent: curl/7.50.1
> Accept: */*
> Authorization: token 58d024e87229477876113deaba90b8e27b779675
>
< HTTP/1.1 404 Not Found
< Server: GitHub.com
< Date: Sat, 06 Aug 2016 19:56:27 GMT
< Content-Type: application/json; charset=utf-8
< Content-Length: 87
< Status: 404 Not Found
< X-RateLimit-Limit: 5000
< X-RateLimit-Remaining: 4998
< X-RateLimit-Reset: 1470516830
< X-OAuth-Scopes: public_repo, repo:status
< X-Accepted-OAuth-Scopes:
< X-GitHub-Media-Type: github.v3
< Access-Control-Expose-Headers: ETag, Link, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset,
X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval
< Access-Control-Allow-Origin: *
< Content-Security-Policy: default-src 'none'
< Strict-Transport-Security: max-age=31536000; includeSubdomains; preload
< X-Content-Type-Options: nosniff
< X-Frame-Options: deny
< X-XSS-Protection: 1; mode=block
< X-GitHub-Request-Id: 472A5892:6D33:803B0AB:57A640EB
<
{
"message": "Not Found",
"documentation_url": "https://developer.github.com/v3"
}
* Connection #0 to host api.github.com left intact
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment