request icon indicating copy to clipboard operation
request copied to clipboard

Simple way to allow any httr options/fxns to be passed in

Open sckott opened this issue 10 years ago • 1 comments

e.g., config = verbose() or content_type_json()

sckott avatar Sep 12 '15 06:09 sckott

snapops(
  httr::user_agent("batwoman"),
  httr::add_headers(a = 5)
)

then those are collected and used appropriately in the request

also allows easy option to use RCurl or other curl like client instead of httr, maybe, eventually

sckott avatar Sep 12 '15 15:09 sckott