You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since c8f7a69 fixed #430, the body parameter of httr::POST may contain form elements created with curl::form_data. Unfortunately this is not mentioned in the documentation for POST. I suggest changing the help text at
#' For "multipart", list elements can be strings or objects created by
#' [upload_file()]. For "form", elements are coerced to strings
to
#' For "multipart", list elements can be strings or objects created by
#' [upload_file()] or [curl::form_data()]. For "form", elements are coerced to strings
to make it easier to discover this useful functionality. Thank you!
The text was updated successfully, but these errors were encountered:
httr has been superseded in favour of httr2, so is no longer under active development. If this problem is still important to you in httr2, I'd suggest filing an issue offer there 😄 (but it looks like it's already documented). Thanks for using httr!
Since c8f7a69 fixed #430, the
body
parameter ofhttr::POST
may contain form elements created withcurl::form_data
. Unfortunately this is not mentioned in the documentation forPOST
. I suggest changing the help text athttr/R/http-post.r
Lines 22 to 23 in cb4e20c
to
to make it easier to discover this useful functionality. Thank you!
The text was updated successfully, but these errors were encountered: