How can I delete a service provider link, or the entire collection, using the REST API with curl?
I have a curl script that will step through my list of active RDNG projects and will present me with a list of the Associations that each project has with other projects, such as RTC for Change Requests, or RQM for Test Cases. I am using REST API calls found here: https://jazz.net/wiki/bin/view/Main/DraftTeamProcessRestApi. The API call that I use to present the list looks like this: curl -k -b cookies.txt -H "Accept: application/xml" "https://<host>:9443/rm/process/project-areas/_01KIgzQjEeazXZOTb1V8ow/links"
Accepted answer
Comments
https://curl.se/docs/manpage.html explains that -G causes cURL to perform a GET command. I can not make sense of the command. It does not import into RESTClient. For all I know it does not make sense to debug using cURL eiother. Use RESTClient or Postman or any other client for experimentation and then create the cURL from it.
One other answer
Comments
Thank you very much Ralph. I will see if I can figure the syntax out using that method. Any idea how you might pass a parameter to the curl cmd? Is something like the curl command followed by