Skip to content

Instantly share code, notes, and snippets.

@mikejholly
Created March 4, 2018 02:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mikejholly/ca5d2a21a3924adb6337446c38c596af to your computer and use it in GitHub Desktop.
Save mikejholly/ca5d2a21a3924adb6337446c38c596af to your computer and use it in GitHub Desktop.
curl -XDELETE -H "Authorization: Bearer xxx" https://striketracker.highwinds.com/api/v1/accounts/k7w4h9z7/origins/66995
{
"error": "The origin you specified could not be found",
"code": 404
}% ➜ benchmark curl -v -XDELETE -H "Authorization: Bearer xxx" https://striketracker.highwinds.com/api/v1/accounts/k7w4h9z7/origins/66996
* Trying 209.197.3.40...
* Connected to striketracker.highwinds.com (209.197.3.40) port 443 (#0)
* found 148 certificates in /etc/ssl/certs/ca-certificates.crt
* found 597 certificates in /etc/ssl/certs
* ALPN, offering http/1.1
* SSL connection using TLS1.2 / ECDHE_RSA_AES_128_GCM_SHA256
* server certificate verification OK
* server certificate status verification SKIPPED
* common name: *.striketracker.highwinds.com (matched)
* server certificate expiration date OK
* server certificate activation date OK
* certificate public key: RSA
* certificate version: #3
* subject: OU=Domain Control Validated,CN=*.striketracker.highwinds.com
* start date: Tue, 07 Apr 2015 19:50:39 GMT
* expire date: Sat, 07 Apr 2018 19:50:39 GMT
* issuer: C=US,ST=Arizona,L=Scottsdale,O=GoDaddy.com\, Inc.,OU=http://certs.godaddy.com/repository/,CN=Go Daddy Secure Certificate Authority - G2
* compression: NULL
* ALPN, server did not agree to a protocol
> DELETE /api/v1/accounts/k7w4h9z7/origins/66996 HTTP/1.1
> Host: striketracker.highwinds.com
> User-Agent: curl/7.47.0
> Accept: */*
> Authorization: Bearer xxx
>
< HTTP/1.1 500 Internal Server Error
< Date: Sun, 04 Mar 2018 02:05:20 GMT
< Connection: Keep-Alive
< Content-Length: 47
< Content-Type: application/json
< Server: nginx
< ETag: "58d3e335-2f"
< X-HW: 1520129060.dop001.se2.t,1520129060.cds018.se2.shn,1520129060.cds018.se2.sc,1520129120.cds018.se2.p
<
* Connection #0 to host striketracker.highwinds.com left intact
{"error":"A fatal error has occurred","code":0}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment