When I attempt to use the JAMF API to enable Remote Desktop using
/usr/bin/curl --verbose --header 'authorization: Basic XXXXXXXXX' https://XXXXXXX.jamfcloud.com/JSSResource/computercommands/command/EnableRemoteDesktop/id/XXXX
I get the following output ...
Warning: Binary output can mess up your terminal. Use "--output -" to tell
Warning: curl to output it to your terminal anyway, or consider "--output
Warning: <FILE>" to save to a file.