Request.with_form
with_formparts
Documentation
Set body as vector of parts encoded as "application/x-www-form-urlencoded".
Arguments
parts
: The parts of the form, or a form itself.
Examples
Create a delete request with an empty form.
import Standard.Base.Network.HTTP.Request.Request
import Standard.Base.Network.URI.URI
example_delete =
Request.delete (URI.parse "http://example.com") . with_form []