We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c74290e commit d51c648Copy full SHA for d51c648
jamf2snipe
@@ -123,7 +123,7 @@ logging.info("The configured JAMFPro base url is: {} (Pretty sure this needs to
123
# Headers for the API call.
124
125
logging.info("Creating the headers we'll need for API calls")
126
-jamfheaders = {'Accept': 'application/json'}
+jamfheaders = {'Authorization': 'Bearer {}'.format(jamf_apiKey),'Accept': 'application/json','Content-Type':'application/json'}
127
snipeheaders = {'Authorization': 'Bearer {}'.format(snipe_apiKey),'Accept': 'application/json','Content-Type':'application/json'}
128
logging.debug('Request headers for JamfPro will be: {}\nRequest headers for Snipe will be: {}'.format(jamfheaders, snipeheaders))
129
0 commit comments