googleformr (version 0.0.3)

check_form_works: Check If The Form Is Sending Correctly

Description

Check the HTTP status message is below 400, meaning that the transmission worked.

Usage

check_form_works(r)

Arguments

r
response from HTTP POST request

Examples

Run this code
## Not run: 
# why_R_u_opensource("R is Cool!") %>% check_form_works()
# # "All good."
# ## End(Not run)

Run the code above in your browser using DataCamp Workspace