request_new
Description:
Creates a new Message and sets it up to send the given data to uri
via
method
.
(That is, if method
is "GET", it will encode the form data into uri
's query field, and if method
is
"POST", it will encode it into the Message's request_body.)
Parameters:
method |
the HTTP method, either "GET" or "POST" |
uri |
the URI to send the form data to |
... |
value of |
first_field |
name of the first form field |
Returns:
the new Message |
Namespace: Soup.Form
Package: libsoup-2.4