## Create a client
ref_client <- ga4gh_client("http://1kgenomes.ga4gh.org", api_location = "", log_level = 1)
## A request body as a list
body_list <- list(pageSize = 2)
## Not run:
# ## Post to the /datasets/search operation
# datasets_list <- ref_client %>% post_ga4gh("/datasets/search", body_list) %>% content
# datasets_list
#
# ## End(Not run)
Run the code above in your browser using DataLab