Forum Discussion

iahiqosolutions's avatar
13 years ago

REST API. Cannot retrieve Session key.

Hello folks,

 

I have a question concerning to Lithium REST API.

I try to login into the Lithium system using the following REST method:

authentication/sessions/current/id

I use the following parameters in the HTTP request:

  • POST htttp method
  • URL: http://%companyName%.stage.lithium.com/restapi/vc/authentication/sessions/current/id  (I replace my company name on %companyName%)
  • user.login
  • user.password

And I get the following response:

 

<?xml version="1.0" encoding="utf-8" standalone="yes"?>
 <response status="success">
  <value type="string"></value>
</response>

 

As you can see, the value tag doesn't contain any session key.

And I don't understand, why is it happen?