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.
brapi_get_call(call_url, nested = TRUE)
Result object returned by the JSON API response.
BrAPI URL to call in GET method.
Logical indicating whether retrieved JSON data will be flattened. Default is TRUE.
Khaled Al-Shamaa, k.el-shamaa@cgiar.org