Method HttpRequestMessage() :delParameter() Foundation

Deletes a HTTP parameter.

Syntax
 
:delParameter( <cName> ) --> self
Parameters
<nName>
A character string with the name of the parameter.
Return

:delParameter() returns the object executing the method.

Description

The method :delParameter() deletes a parameter from the HTTP query string. If the same parameter is defined multiple times (meaning the parameter has several values), all occurances of <cName> are removed.

The methods :addParameter(), :delParameter(), :getParameter(), :getParameters() and their respective :set..() counterparts allow direct and easy manipulation of name-value pairs that are transferred in the Http request. The parameters are transferred according to the request method. For the request method "GET", the parameters are transferred as name-value pairs in the query string. If the request method is "POST" or "PUT", the parameters are converted according to the content type and transferred in the body of the Http request.

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.