decode_html_body: Decode the body of event content coming via an API Gateway

View source: R/utils-html.R

decode_html_bodyR Documentation

Decode the body of event content coming via an API Gateway

Description

Decode the body of event content coming via an API Gateway

Usage

decode_html_body(body, config, base64_encoded = FALSE)

Arguments

body

character body of an event received via an API Gateway invocation. Usually this isn't the entire content of the event, but the "body" component of it.

config

A list of configuration values as created by the lambda_config function.

base64_encoded

logical that indicates if the body is encoded as Base64

Value

Either a list or, if the body is Base64 and the configuration demands that Base64 values are not decoded, a Base64 value as a character


lambdr documentation built on Nov. 25, 2023, 5:08 p.m.