Hi im trying to grab the json from the api call using a rest curl. here's my command
curl -D- -u admin:admin -X GET -H "Content-Type: application/json" http://localhost:8080/rest/api/2/configuration
I got this from here
and here's my output (replacing actual info with "hiding")
Cache-Control: no-cache, no-store, no-transform
Date: Thu, 20 Jul 2017 19:04:35 GMT
Now when I use a |python -mjson.tool afterwards, it tells me no JSON object could be decoded. Its frustrating that the example isn’t working with the code, is there some way to grab the only the JSON at the end? Thanks for any help
Hi Community! 2018 was filled with changes for our team, both big and small, and we've taken a lot of time to both celebrate our wins and recognize areas of improvement. One thing that we're a...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs