This function is used internally to execute POST calls to BrAPI endpoints and retrieve the results while handling pagination and long-running tasks.
brapi_post_search_call(call_url, call_body, nested = TRUE)
A list of results obtained from the BrAPI POST call.
BrAPI URL for the POST request.
The request body to send with the POST request.
Logical indicating whether to flatten the nested structure. Default is TRUE.
Khaled Al-Shamaa, k.el-shamaa@cgiar.org