Upload a file to Filebin

file_post(path, bin = NA)

Arguments

path

Path to a file. If a vector then upload multiple files.

bin

Bin name. If NA the generate random bin name.

Value

A tibble.

Examples

if (FALSE) {
# Upload a single file.
file_post(LOREM_IPSUM)
# Upload multiple files.
file_post(c(LOREM_IPSUM, MORE_LOREM_IPSUM))

# Upload to a specific bin.
bin <- bin_name_random(length = 24)
file_post(LOREM_IPSUM, bin)
}