It's all about the answers!

Ask a question

How to pass username and password in RQM Rest API


Ally Li (11) | asked Apr 09 '18, 6:39 p.m.

 I am new to RQM and RQM REST API,  I am writing script to get the test execution record.  I want to use RQM API. Is there an  example to query RQM resource through REST API? Specially with login info passed?  Thanks!

One answer



permanent link
Donald Nong (14.4k213) | answered Apr 09 '18, 8:40 p.m.

Check out these documents.
https://jazz.net/library/article/633
https://jazz.net/library/article/1086

It doesn't matter what tools or languages (cURL, Perl, Java or others) you use. It's the URL, headers and cookies in those HTTP calls that matters. Once you get an authenticated user session, you can do whatever you want to do with the REST API.

For a better understanding of OSLC/REST API, it is recommended to go through the workshop.
https://jazz.net/library/article/635


Comments
Ally Li commented Apr 10 '18, 4:50 p.m.

Thanks. Still don't any instruction how to pass the username and password in REST API url.  Is there a simple example to follow?  Thanks 

Your answer


Register or to post your answer.