httpbin_app {webfakes} | R Documentation |
A web app similar to https://httpbin.org. See its specific docs. You can also see these docs locally, by starting the app:
httpbin <- new_app_process(httpbin_app()) browseURL(httpbin$url())
httpbin_app(log = interactive())
log |
Whether to log requests to the standard output. |
A webfakes_app
.
app <- httpbin_app() proc <- new_app_process(app) url <- proc$url("/get") resp <- curl::curl_fetch_memory(url) curl::parse_headers_list(resp$headers) cat(rawToChar(resp$content)) proc$stop()