get https://yourServer.jamfcloud.com/JSSResource/scripts/name/
script_contents_encoded is the equivalent of script_contents, but it has been Base 64 encoded.
Response
script_contents_encoded is the equivalent of script_contents, but it has been Base 64 encoded.
xxxxxxxxxx
curl --request GET \
--url https://yourserver.jamfcloud.com/JSSResource/scripts/name/name \
--header 'accept: application/json'