Use curl with REST API to retrieve information from Doors Next Gen
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
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 |
Ian Barnard (1.9k●6●13)
| 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
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.