Learn R Programming

oaii (version 0.5.0)

api_upload_file: Create "uploaded file" object

Description

See upload_file

Usage

api_upload_file(f, type = NULL)

Value

NULL if `f` was NULL otherwise "uploaded_file" object

Arguments

f

string/raw, content of file or path to the file

type

mime type of path. If not supplied, will be guess by mime::guess_type() when needed.