Learn R Programming

abjutils (version 0.2.3)

chrome_to_body: Convert Chrome's Query String Parameters to a list

Description

To use this function, simply copy the Query String Parameters returned by Chrome when analysing the network flow of a web page. Paste these QSPs into an R string with double quotes (as you would to create any string) and pass it to chrome_to_body(); the function will print to the console a formatted command that creates a list with the QSPs. This list works perfectly with httr::GET() and httr::POST() so that you can easily reproduce a website's behavior.

Usage

chrome_to_body(x)

Arguments

x

A string with Chrome's Query String Parameters

See Also

httr::GET(), httr::POST()