prschmid/zoomus

No Content-Type setting in ApiClient.put_request

rixiaterurun opened this issue · 2 comments

Hello, thank you for the nice utility for using Zoom API with Python!

headers = {"Authorization": "Bearer {}".format(self.config.get("token"))}

put_request method sends json data in the request body same as post_request and patch_request, but the header does not have Content-Type field.
It causes Content-Type error, so Zoom API returns the following:

{"code":300,"message":"Unsupported Content Type"}

Hi all. Thanks for making and supporting. This issue is still open and the PR to fix is still open. Any chance at merging this?

Resolved by merging in #93 , closing. Thanks!