api_upload_file: Create "uploaded file" object

View source: R/api_utils.R

api_upload_fileR Documentation

Create "uploaded file" object

Description

See upload_file

Usage

api_upload_file(f, type = NULL)

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.

Value

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


oaii documentation built on May 29, 2024, 5:25 a.m.

Related to api_upload_file in oaii...