Forum Discussion
ashok285
7 years agoAce
Hi abmpu
Here's an example curl request for session key generation:
curl -XPOST 'https://yourcommunity.com/restapi/vc/authentication/sessions/login?user.login=<login>&user.password=<password>'
response is in this format
<response status="success">
<value type="string">NO-1sPyPINXCQUDnQLjxcHnYVgyxF-qE5xIHlyUQzDU.</value>
</response>
when you are facing below error message may be you are giving wrong credential
please check your username and password once
<response status="error">
<error code="302">
<message>User authentication failed.</message>
</error>
</response>
please refer https://community.lithium.com/t5/Developer-Documentation/bd-p/dev-doc-portal?section=sessionauth this link for reference
Give kudos if you find my posts helpful or mark solution if it answers your query.
Related Content
- 3 months ago