Skip to content

Instantly share code, notes, and snippets.

@corywright
Last active July 11, 2017 13:53
Show Gist options
  • Save corywright/ad429670d5a401e72421ff3cfe7a8284 to your computer and use it in GitHub Desktop.
Save corywright/ad429670d5a401e72421ff3cfe7a8284 to your computer and use it in GitHub Desktop.
cwright@saio:/var/log/hummingbird$ curl -v -H 'X-Auth-User: test:tester' -H 'X-Auth-Key: testing' http://127.0.0.1:8080/auth/v1.0
* Hostname was NOT found in DNS cache
* Trying 127.0.0.1...
* Connected to 127.0.0.1 (127.0.0.1) port 8080 (#0)
> GET /auth/v1.0 HTTP/1.1
> User-Agent: curl/7.35.0
> Host: 127.0.0.1:8080
> Accept: */*
> X-Auth-User: test:tester
> X-Auth-Key: testing
>
< HTTP/1.1 200 OK
< Content-Length: 0
< Content-Type: text/html; charset=UTF-8
< X-Auth-Token: AUTH_a727bda8-5c62-11ed-eb85-e20338c6d8eb
< X-Openstack-Request-Id: 14d04b07391261f9
< X-Storage-Token: AUTH_a727bda8-5c62-11ed-eb85-e20338c6d8eb
< X-Storage-Url: http://127.0.0.1:8080/v1/AUTH_test
< X-Trans-Id: 14d04b07391261f9
< Date: Tue, 11 Jul 2017 13:52:50 GMT
<
* Connection #0 to host 127.0.0.1 left intact
cwright@saio:/var/log/hummingbird$ curl -v -H 'X-Auth-Token: AUTH_a727bda8-5c62-11ed-eb85-e20338c6d8eb' http://127.0.0.1:8080/v1/AUTH_test
* Hostname was NOT found in DNS cache
* Trying 127.0.0.1...
* Connected to 127.0.0.1 (127.0.0.1) port 8080 (#0)
> GET /v1/AUTH_test HTTP/1.1
> User-Agent: curl/7.35.0
> Host: 127.0.0.1:8080
> Accept: */*
> X-Auth-Token: AUTH_a727bda8-5c62-11ed-eb85-e20338c6d8eb
>
< HTTP/1.1 200 OK
< Accept-Ranges: bytes
< Content-Length: 22
< Content-Type: text/plain; charset=utf-8
< Date: Tue, 11 Jul 2017 13:53:27 GMT
< X-Account-Bytes-Used: 0
< X-Account-Container-Count: 1
< X-Account-Object-Count: 0
< X-Account-Storage-Policy-Gold-Bytes-Used: 0
< X-Account-Storage-Policy-Gold-Container-Count: 1
< X-Account-Storage-Policy-Gold-Object-Count: 1
< X-Openstack-Request-Id: 14d04b0fd6c9875d
< X-Put-Timestamp: 1499780637.35977
< X-Timestamp: 1499780637.39310
< X-Trans-Id: 14d04b0fd6c9875d
<
0-8710766845175220197
* Connection #0 to host 127.0.0.1 left intact
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment