Converts the input parameter to an url encoded string and sets the content-type
header and body. If the input argument is already a string, skips the conversion
part.
// Automatically sets the content-type header to "application/x-www-form-urlencoded" wretch("...").addon(FormUrlAddon).formUrl(form).post(); wretch("...").addon(FormUrlAddon).formUrl(alreadyEncodedForm).post();
Converts the input parameter to an url encoded string and sets the content-type header and body. If the input argument is already a string, skips the conversion part.