YouTrack InCloud 7.0 Help

Log in to YouTrack

POST /user/login

Log in to YouTrack server using specified credentials.

POST /rest/user/login?{login}&{password}

Parameters:

NameTypeDescription
loginstringUser name to log in.
passwordstringPassword for provided user name.

Reuse cookie information from the response to the method (

'Set-Cookie'
parameter) with in the
'Cookie'
header of any subsequent requests.

Sample

Request:

POST http://localhost:8081/rest/user/login Content-Length: 24 Connection: keep-alive Content-Type: application/x-www-form-urlencoded Cookie: login=root&password=root

Response:

HTTP/1.1 200 OK Expires: Thu, 01-Jan-1970 00:00:00 GMT Set-Cookie: JSESSIONID=n7hq7t8o49ae15sgbq5hn9ic;Path=/ Set-Cookie: jetbrains.charisma.main.security.PRINCIPAL=NDgxMzQ5NGQxMzdlMTYzMWJiYTMwMWQ1YWNhYjZlN2JiN2FhNzRjZTExODVkNDU2NTY1ZWY1MWQ3Mzc2NzdiMjpyb290;Path=/;Expires=Thu, 12-May-2011 16:37:10 GMT Content-Type: application/xml;charset=UTF-8 Transfer-Encoding: chunked Server: Jetty(6.1.23) <login>ok</login>
Last modified: 29 September 2016