How to pass username and password in RQM Rest API
One answer
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