It's all about the answers!

Ask a question

Authentication on the LQE 6.0 REST API


0
1
Gergely Szakaly (2379) | asked Jul 06 '15, 11:55 a.m.
I am trying to execute a SPARQL query from a program over the LQE REST API (https://localhost/lqe/sparql?query=SELECT%20... ). To get through the OAuth authentication I am trying to use Eclipse Lyo, and then use the Wink Client in Lyo to access the API. I am using the same use case with DOORS NG successfully. However, the OAuth authentication with LQE is not successful.

Does any one have experience accessing the LQE REST API from an external program? If yes, what was used to handle the authentication?

2 answers



permanent link
Shahnawaz Ul Haque (1111) | answered Sep 15 '15, 3:47 a.m.
Basically Oath use 2-Step authentication to get the required cookies to make a valid Rest call.

I  am enlisting the cookies below for DNG 6.0 Cloud.
JAZZ_AUTH_TOKEN
LtpaToken2
JSESSIONID

I am doing the authentication from C# using RestSharp library.

Use the RestClient/PostMan from Firefox or chrome to get the exact URL , request , response and the cookies to do so..!!!
Once you have all the raw-request you can post the same through your code.


permanent link
API-DEV User (2126) | answered Feb 26 '19, 5:44 p.m.

 Has anyone been able to follow up on this? 

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.