Currently redata_requests() returns the JSON loaded contents. However, this is not ideal for some other applications as we need to know the response messages and errors (e.g., ReM tool). As such, we need to add an optional input called process which if set True will return the JSON contents. Otherwise it will return the requests response
Currently
redata_requests()
returns the JSON loaded contents. However, this is not ideal for some other applications as we need to know the response messages and errors (e.g., ReM tool). As such, we need to add an optional input calledprocess
which if set True will return the JSON contents. Otherwise it will return therequests
response