Skip to content

Instantly share code, notes, and snippets.

@llimllib
Created April 29, 2021 13:37
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 llimllib/b4584ccc12ece699169c74ccedf74b74 to your computer and use it in GitHub Desktop.
Save llimllib/b4584ccc12ece699169c74ccedf74b74 to your computer and use it in GitHub Desktop.
$ curl -v 'https://ffiec.cfpb.gov/v2/data-browser-api/view/csv?states=ME&years=2018&actions_taken=1,3'
* Trying 3.221.239.145...
* TCP_NODELAY set
* Connected to ffiec.cfpb.gov (3.221.239.145) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
* CAfile: /etc/ssl/cert.pem
CApath: none
* 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, Change cipher spec (1):
* TLSv1.2 (OUT), TLS handshake, Finished (20):
* TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
* TLSv1.2 (IN), TLS handshake, Finished (20):
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
* ALPN, server accepted to use h2
* Server certificate:
* subject: C=US; ST=District of Columbia; L=Washington; O=Bureau of Consumer Financial Protection; CN=ffiec.cfpb.gov
* start date: Jul 29 19:13:48 2020 GMT
* expire date: Jul 29 19:13:48 2021 GMT
* subjectAltName: host "ffiec.cfpb.gov" matched cert's "ffiec.cfpb.gov"
* issuer: C=US; O=Entrust, Inc.; OU=See www.entrust.net/legal-terms; OU=(c) 2012 Entrust, Inc. - for authorized use only; CN=Entrust Certification Authority - L1K
* SSL certificate verify ok.
* Using HTTP2, server supports multi-use
* Connection state changed (HTTP/2 confirmed)
* Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0
* Using Stream ID: 1 (easy handle 0x7fa39780d600)
> GET /v2/data-browser-api/view/csv?states=ME&years=2018&actions_taken=1,3 HTTP/2
> Host: ffiec.cfpb.gov
> User-Agent: curl/7.64.1
> Accept: */*
>
* Connection state changed (MAX_CONCURRENT_STREAMS == 128)!
< HTTP/2 301
< date: Thu, 29 Apr 2021 13:36:04 GMT
< content-type: text/html; charset=UTF-8
< location: https://cfpb-hmda-public.s3.amazonaws.com/prod/data-browser/filtered-queries/582440fbac6e731edbf0976f75b2e0ff.csv
< content-disposition: attachment; filename="state_ME_actions_taken_1-3.csv"
< server: envoy
< x-envoy-upstream-service-time: 79
<
* Connection #0 to host ffiec.cfpb.gov left intact
This and all future requests should be directed to <a href="https://cfpb-hmda-public.s3.amazonaws.com/prod/data-browser/filtered-queries/582440fbac6e731edbf0976f75b2e0ff.csv">this URI</a>.* Closing connection 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment