Get request header issue

Thank you for your patience. For anyone that may need this:

head = {
‘client_id’:client_id,
‘client_secret’:client_secret,
‘grant_type’: ‘client_credentials’
}

r = requests.post(API_ENDPOINT,data = head)

Note: client_id is used here, not client-id as i previously thought.