Stubbing and setting expectations on HTTP requests
Stubbing HTTP requests at low http client lib level
Setting and verifying expectations on HTTP requests
Matching requests based on method, URI, headers and body
Supports multiple HTTP libraries, including crul and httr
Integration with HTTP test caching library vcr
Scott Chamberlain firstname.lastname@example.org
library(webmockr) stub_request("get", "https://httpbin.org/get") stub_request("post", "https://httpbin.org/post") stub_registry()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.