I have tried this in Mac Terminal
curl -s -k -u $user:$pw -X PUT -H "Content-Type: text/xml" -d "<?xml version="1.0"?>" <mobile_device><location><building>AD</building></location></mobile_device> https://$myserver/JSSResource/mobiledevices/id/1957
I get this error message
-bash: syntax error near unexpected token `<'
I actually have my real username and password in place of the $user and $pw and my real server in place of the $myserver
Just wondering what the curl command should be since the one above isn't working.