dot-formulate_curl_handle_and_opts.shim: create the header and options for the to-be-made curl handle

.formulate_curl_handle_and_opts.shimR Documentation

create the header and options for the to-be-made curl handle

Description

create the header and options for the to-be-made curl handle

Usage

.formulate_curl_handle_and_opts.shim(
  db_or_conn,
  request_type,
  uri,
  postdata = NULL
)

Arguments

db_or_conn

a scidb database connection object, _or_ its "connection" attribute

request_type

string for type of request (e.g. "POST", "GET")

uri

base SciDB URI

postdata

raw data to be posted. default is 'NULL'

Value

named list with "headers" and "options". both attributes are lists


Paradigm4/SciDBR documentation built on Nov. 9, 2023, 4:58 a.m.