upload_file

0th

Percentile

Upload a file with POST or PUT.

This is a tiny wrapper for RCurl's fileUpload.

Usage
upload_file(path)
Arguments
path
path to file
Aliases
  • upload_file
Examples
POST("http://httpbin.org/post",
  body = list(y = upload_file(system.file("CITATION"))))
Documentation reproduced from package httr, version 0.1.1, License: MIT

Community examples

Looks like there are no examples yet.