It's all about the answers!

Ask a question

Use curl with REST API to retrieve information from Doors Next Gen


0
1
Ahmed AbuZekry (2338) | asked Aug 15 '16, 11:59 a.m.
edited Aug 15 '16, 12:40 p.m.
 Hi All,

I am trying to use curl command line utility along with REST API of Doors Next Gen to get the info and store it in xml file to later parse it.

(Example API: https://localhost:9443/rm/publish/resources?moduleURI=_4Ca5AF5EEea-gsKv3FnS9A&ownLinks=true&linksonly=true)

The problem is that Doors Next Gen is using Oauth, it is not like any other type of authentication and I have tried many ways to access the information, but all were unsuccessful.

Does anyone know how to perform such a thing or is it unfeasable ?


2 answers



permanent link
Donald Nong (14.5k414) | answered Aug 23 '16, 10:28 p.m.
You don't have to use oAuth. We usually use form based authentication. See below article to understand how to authenticate through JTS (same as RDNG).
https://jazz.net/library/article/633

permanent link
Ian Barnard (1.9k613) | answered Mar 14 '18, 6:20 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

See this example here showing how to use curl for form-based login: 



I also added an answer there using Powershell to do the same thing.

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.