You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by a....@netsons.com on 2013/08/21 17:55:57 UTC

JSESSIONID from API

Hi,



someone know how to obtain the JSESSIONID cookie from the login API command?



http://cloudstack.apache.org/docs/api/apidocs-4.1/root_admin/login.html



thanks!

RE: JSESSIONID from API

Posted by Sanjay Tripathi <sa...@citrix.com>.
As mentioned in the doc link, you will get the sessionkey in the login command response.

This login API command will give you the sessionkey in the response (with default CS username and password):
http://localhost:8080/client/api?command=login&username=admin&password=password

--Sanjay

> -----Original Message-----
> From: netsons@cpanel.netsons.com [mailto:netsons@cpanel.netsons.com]
> On Behalf Of a.petrocelli@netsons.com
> Sent: Wednesday, August 21, 2013 9:26 PM
> To: dev@cloudstack.apache.org
> Subject: JSESSIONID from API
> 
> Hi,
> 
> 
> 
> someone know how to obtain the JSESSIONID cookie from the login API
> command?
> 
> 
> 
> http://cloudstack.apache.org/docs/api/apidocs-4.1/root_admin/login.html
> 
> 
> 
> thanks!