tests/testthat/_snaps/expect-request.md

expect_request without_internet

Code
  expect_POST(req_perform(this_req), "http://httpbin.not/get", "{\"test\":false}")
Condition
  Error:
  ! An unexpected request was made:
    Actual:   POST http://httpbin.not/get {"test":true}
    Expected: POST http://httpbin.not/get {"test":false}


Try the httptest2 package in your browser

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

httptest2 documentation built on Nov. 17, 2025, 5:06 p.m.