Hi
I wrote a script which makes a GET request. Like this:
curl -H "content-type: application/xml" -s -o "/private/tmp/computers.xml" -fku "username":"password" "https://jamf.example.com/JSSResource/computers" -X GET
If the inventory contains 0 computers I get a JSON response. If there are more than 0 computers the output is XML, which is correct. This happens only on Jamf Pro 10.3.
Is this a product issue or is my curl command wrong? I even tried to force a XML response by defining the header.