I'm getting responses back in HTML instead of json when making a few API calls, such as 'get users' or 'get tenants'. I'm able to do a 'get domains' api call and get back json just fine so I'm unclear what the difference is. I've tried setting my headers to accept json back but the api likes plain/text. Any help would be appreciated. Here is my class below in Python:
"""Service proxy library for interfacing with Stealthwatch SMC"""