Hi, I tested an API query in my browser and got a reasonable response (i.e. a lengthy json object that provides plenty of information).
I tried running the same query in my Python code and received a completely different response. While I got a Response [200], the json object was completely different in structure and therefore content.
The query I used: https://baselink.com/rest/api/space?spaceKey=spaceKeyName
Browser result: lengthy json file that had the same structure as shown in API documentation examples.
Python (command line) result: a VERY short json object that had different keys altogether, with the only information of some value being the query used. One specific value in this stunted response was under jsonObj[links][self], and the value of that was the same exact query I used in the browser (https://baselink.com/rest/api/space?spaceKey=spaceKeyName). Why does this happen?
And if it makes a difference, I am using the requests and json libraries in Python.