Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion jamf2snipe
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ first_api_call = None

# Headers for the API call.
logging.info("Creating the headers we'll need for API calls")
jamfbasicheaders = {'Accept': 'application/json','Content-Type':'application/json'}
jamfbasicheaders = {'Accept': 'application/json','Content-Type':'application/json','User-Agent':'Jamf2Snipe CLI'}
snipeheaders = {'Authorization': 'Bearer {}'.format(snipe_apiKey),'Accept': 'application/json','Content-Type':'application/json'}
logging.debug('Request headers for JamfPro will be: {}\nRequest headers for Snipe will be: {}'.format(jamfbasicheaders, snipeheaders))

Expand Down