Examples for 'httr::PUT'


Send PUT request to server.

Aliases: PUT

Keywords:

### ** Examples

## Not run: 
##D POST("http://httpbin.org/put")
##D PUT("http://httpbin.org/put")
##D 
##D b2 <- "http://httpbin.org/put"
##D PUT(b2, body = "A simple text string")
##D PUT(b2, body = list(x = "A simple text string"))
##D PUT(b2, body = list(y = upload_file(system.file("CITATION"))))
##D PUT(b2, body = list(x = "A simple text string"), encode = "json")
## End(Not run)

[Package httr version 1.4.7 Index]