POST request in Python

Hoping to maybe reach the rare python programmer out there with help for this.

this is how im sending the information for a POST. Is this correct? Im getting a username/password error though I know the information is correct (unless ‘name’ is not your UN you log into the normal site with).

Looking for some guidance on this. Thanks.

I don’t think you need headers here. Try sending your request without them. In my code (linked below) I can get the access token without headers, and last I checked, it worked!