uri_string could not be parsed or method is not "GET, "POST" or "PUT"
Message.newFromEncodedForm
soup.message.Message newFromEncodedForm(string method, string uriString, string encodedForm)Creates a new #SoupMessage and sets it up to send the given encoded_form to uri via method. If method is "GET", it will include the form data into uri's query field, and if method is "POST" or "PUT", it will be set as request body.
This function takes the ownership of encoded_form, that will be released with funcGLib.free when no longer in use. See also funcform_encode, funcform_encode_hash and funcform_encode_datalist.
Parameters
method | the HTTP method for the created request (GET, POST or PUT) |
uriString | the destination endpoint (as a string) |
encodedForm | a encoded form |
Returns
the new #SoupMessage, or null if