Created
July 31, 2015 10:41
-
-
Save deenine/7df9f849a5e4fd249b79 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Dougs-MacBook-Air:anchor doug$ curl -i -H "Content-Type: application/json" -d ' | |
{ "auth": { | |
"identity": { | |
"methods": ["password"], | |
"password": { | |
"user": { | |
"name": "anchoruser", | |
"domain": { "id": "default" }, | |
"password": "anchorpass" | |
} | |
} | |
} | |
} | |
}' http://192.168.0.14:5000/v3/auth/tokens ; echo | |
HTTP/1.1 201 Created | |
Date: Fri, 31 Jul 2015 10:17:13 GMT | |
Server: Apache/2.4.7 (Ubuntu) | |
X-Subject-Token: c87666c3e2f843ecb715c80465497dae | |
Vary: X-Auth-Token | |
x-openstack-request-id: req-3d085a5f-71b1-4d88-8510-6dcd291f7bec | |
Content-Length: 302 | |
Content-Type: application/json | |
{"token": {"methods": ["password"], "expires_at": "2015-07-31T11:17:13.587245Z", "extras": {}, "user": {"domain": {"id": "default", "name": "Default"}, "id": "70d7c28d634d4fe39063017f4ffdc9af", "name": "anchoruser"}, "audit_ids": ["MTQhpd09TACsk2R7nyq_gQ"], "issued_at": "2015-07-31T10:17:13.587290Z"}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment