UAL-RE / redata-commons

Commons code used by ReDATA codebases
MIT License
1 stars 2 forks source link

redata_request should also provide the requests.Request response #18

Closed astrochun closed 3 years ago

astrochun commented 3 years ago

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