R/synapseGet.R

## Send a get request to synapse
## 
## Author: Matthew D. Furia <matt.furia@sagebase.org>
###############################################################################

synapseGet <- 
  function(uri, host = .getRepoEndpointLocation(), curlHandle=getCurlHandle(), anonymous = .getCache("anonymous"), 
    path = .getRepoEndpointPrefix(), opts = .getCache("curlOpts"), entity = NULL)
{
  ## constants
  kMethod <- "GET"
  ## end constants
  
  .synapseGetDelete(uri = uri, 
    requestMethod = kMethod, 
    host = host, 
    curlHandle = curlHandle, 
    anonymous = anonymous, 
    path = path, 
    opts = opts,
    entity = entity
  )
}
Sage-Bionetworks/rSynapseClientRewrite documentation built on May 9, 2019, 7:06 p.m.