Learn R Programming

curlconverter (version 1.0.0)

from_har: Convert HAR to cURL

Description

Convert HAR to cURL

Usage

from_har(har, filter = c("All", "Doc", "JS", "CSS", "XHR", "Img", "XHR",
  "Media", "Font", "WS", "Manifest", "Other"))

Arguments

har

a JSON string, URL or file

filter

a filter working on content-type given by the HAR entry response

Value

A character vector of cURL calls

Examples

Run this code
# NOT RUN {
   hardir <- system.file("extdata", package = "curlconverter")
   harfile <- file.path(hardir, "har1.har")
   harfile %>% from_har
# }

Run the code above in your browser using DataLab