Skip to content

Instantly share code, notes, and snippets.

@plu
Created March 31, 2016 05:02
Show Gist options
  • Save plu/7aa63898a7fdbd187ea9acdf895d0fde to your computer and use it in GitHub Desktop.
Save plu/7aa63898a7fdbd187ea9acdf895d0fde to your computer and use it in GitHub Desktop.
$ while [ true ]; do curl -vvv -D- -H 'Accept-Language: de_DE' -H 'Authorization: OAuth SECRET' 'https://api.apptentive.com/interactions'; done
...
* Connected to api.apptentive.com (52.86.64.184) port 443 (#0)
* TLS 1.2 connection using TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
* Server certificate: *.apptentive.com
* Server certificate: AlphaSSL CA - SHA256 - G2
* Server certificate: GlobalSign Root CA
> GET /interactions HTTP/1.1
> Host: api.apptentive.com
> User-Agent: curl/7.43.0
> Accept: */*
> Accept-Language: de_DE
> Authorization: OAuth SECRET
>
< HTTP/1.1 404 Not Found
HTTP/1.1 404 Not Found
< Server: nginx
Server: nginx
< Date: Thu, 31 Mar 2016 05:01:13 GMT
Date: Thu, 31 Mar 2016 05:01:13 GMT
< Content-Type: text/html
Content-Type: text/html
< Content-Length: 162
Content-Length: 162
< Connection: keep-alive
Connection: keep-alive
<
<html>
<head><title>404 Not Found</title></head>
<body bgcolor="white">
<center><h1>404 Not Found</h1></center>
<hr><center>nginx</center>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment