The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
If I try to do an API request I always get a response in XML format - even if specifying the accepted format to be JSON.
Anyone that can explain this?
Thanks
Example:
curl -vv "http://10.2.0.13:8060/api/rest/fisheyeVersion" -H "Accept: application/json"
* Trying 10.2.0.13...
* Connected to 10.2.0.13 (10.2.0.13) port 8060 (#0)
> GET /api/rest/fisheyeVersion HTTP/1.1
> Host: 10.2.0.13:8060
> User-Agent: curl/7.47.0
> Accept: application/json
>
< HTTP/1.1 200 OK
< Date: Tue, 20 Jul 2021 13:15:57 GMT
< X-Content-Type-Options: nosniff
< X-XSS-Protection: 1; mode=block
< X-Frame-Options: SAMEORIGIN
< X-UA-Compatible: IE=Edge
< X-AUSERNAME: anonymous
< Content-Type: text/xml;charset=utf-8
< Vary: Accept-Encoding, User-Agent
< Transfer-Encoding: chunked
< Server: Jetty(9.4.19.v20190610)
<
<response><string>4.8.0</string>
</response>
Hi everyone, We’re always looking at how to improve Confluence and customer feedback plays an important role in making sure we're investing in the areas that will bring the most value to the most c...
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events