Try this:
curl -d '{"auth":{"identity":{"methods": ["password"], "password":{"user":
{"name": "<foouser>", "password": "secret", "domain": {"id": "default"}}}}}'
-H "Content-type:
application/json"
http://localhost:35357/v3/auth/tokens<http://localhost:35357/v2.0/tokens>
On Tuesday, February 26, 2013, Bhandaru, Malini K wrote:
> Might there be a v3 version of a curl call for token as below:****
>
> curl -d '{"auth":{"passwordCredentials":{"username": "<foouser>",
> "password": "secret"}}}' -H "Content-type: ****
>
> application/json" http://localhost:35357/v2.0/tokens****
>
> ** **
>
> Thanks****
>
> malini****
>
--
-Dolph
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20130226/1f1ca6bc/attachment.html>