I am trying to create a process to get all schedules on our company gallery to create a gantt chart. I am using python to generate my request url but copied the logic from a few different alteryx apps and macros I've found online. I believe I am correctly generating my oauth_signature and am receive a 200 response code when I plug my full url into postman or python requests package. However, the response I am getting is text/html rather than json even though I specify that:
headers = {'accept': 'application/json', 'content-type': 'application/json'}
In the html response that I do get, it says:
<h2>JavaScript Required</h2>
<p>It appears that JavaScript is either disabled in your browser, or is blocked by a plugin (such as NoScript). Please enable JavaScript on this site to continue.</p>
</div>
I am not sure how to address this. Is enabling javascript something I need to do on the machine that is running our private gallery lives on? Or is this a literal setting within the gallery server itself?
Any help would be greatly appreciated. I can also share my python code if that would be of any help.