This function is created for *internal use only* to call BrAPI in the GET method and retrieve the raw response data and send back the results. This function takes care of pagination, authentication, encoding, compression, decoding JSON response, etc.
Arguments
- call_url
BrAPI URL to call in GET method.
- nested
Logical indicating whether retrieved JSON data will be flattened. Default is TRUE.
Author
Khaled Al-Shamaa, k.el-shamaa@cgiar.org