readPOST: Read POST data from HTTP request

Description Usage Value Examples

Description

Reads the POST data transmitted via an HTTP request and returns it as a named character vector.

Usage

1

Value

a named list containing the POST data or NULL if none exists

Examples

1
2
3
4
postData <- readPOST()
if ("foobar" %in% names(postData)) {
   foobar <- postData[["foobar"]]
}

jweile/cgir documentation built on May 10, 2019, 10:02 a.m.