Skip to content

Update bhapi.py to fix user-agent and Content-Type breaking changes in API#1

Open
joesuffceren wants to merge 1 commit intotimothywhite:masterfrom
joesuffceren:master
Open

Update bhapi.py to fix user-agent and Content-Type breaking changes in API#1
joesuffceren wants to merge 1 commit intotimothywhite:masterfrom
joesuffceren:master

Conversation

@joesuffceren
Copy link

added headers to change user agent and logic to change Content-Type to application/json for post requests not related to authentication to work around breaking changes to API.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant