brapi_post_search_call: Internal Function Used for Core BrAPI POST Calls

View source: R/http.R

brapi_post_search_callR Documentation

Internal Function Used for Core BrAPI POST Calls

Description

This function is used internally to execute POST calls to BrAPI endpoints and retrieve the results while handling pagination and long-running tasks.

Usage

brapi_post_search_call(call_url, call_body, nested = TRUE)

Arguments

call_url

BrAPI URL for the POST request.

call_body

The request body to send with the POST request.

nested

Logical indicating whether to flatten the nested structure. Default is TRUE.

Value

A list of results obtained from the BrAPI POST call.

Author(s)

Khaled Al-Shamaa, k.el-shamaa@cgiar.org


icarda-git/QBMS documentation built on Sept. 25, 2024, 10:45 p.m.