tests/testthat/test-http-httr2.R

test_that("basic HTTP methods work (httr2)", {
  skip_if_not_installed("webfakes")

  test_http_GET()
  test_http_POST_JSON()
  test_http_POST_empty()
  test_http_POST_file()
  test_http_headers()
})

Try the rsconnect package in your browser

Any scripts or data that you put into this service are public.

rsconnect documentation built on April 10, 2026, 9:11 a.m.