Skip to contents

make_default_request sets default parameters for httr requests.

Usage

make_default_request()

Value

An httr2 request object.

Examples

make_default_request()
#> <httr2_request>
#> GET https://nyu.databrary.org/api
#> Body: empty
#> Options:
#>useragent: 'databraryr (https://cran.r-project.org/package=databraryr)'
#>timeout_ms: 5000
#>connecttimeout: 0
#>cookiejar: '/tmp/RtmpY3bOkM/file1a5032bc21b4'
#>cookiefile: '/tmp/RtmpY3bOkM/file1a5032bc21b4'
#> Policies:
#>retry_max_tries: 3
#>retry_on_failure: FALSE