Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

has_content

Does the request have content associated with it?


Description

Does the request have content associated with it?

Usage

has_content(x)

Examples

has_content(POST("http://httpbin.org/post", body = FALSE))
has_content(HEAD("http://httpbin.org/headers"))

httr

Tools for Working with URLs and HTTP

v1.4.2
MIT + file LICENSE
Authors
Hadley Wickham [aut, cre], RStudio [cph]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.