Get request header issue

I have now tried sending a post request to https://id.twitch.tv/oauth2/token. It told me that I am missing a client secret.

head = {
		'client-id':client_id,
		'client_secret':client_secret,
		'grant_type': 'client_credentials'
}


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

Also there may be a typo in the docs. It says to use client_id in the header, but when i used that it said i was missing a client id. I also tried client-secret in the header, but that did not work.