====== RestRequest::removeUnnamedParameter() ======
----
===== Definition =====
Removes the unnamed parameter at the given index. If the index is invalid or couldn't be found, this method does nothing.
void removeUnnamedParameter ( $Index )
===== Parameters =====
* **$Index** //Integer// \\ Index of the unnamed parameter, which should be removed (if an invalid index is given, nothing is removed).
===== Example =====
$Request = new RestRequest();
// Called endpoint is: [PUT] https://www.domain.com/webservice/accounting/booking/draft
// Content is: "id:5,account:1234,name:Mr. Smith,amount:592.30"
$Application = $Request->getApplication(); // "accounting"
$Method = $Request->getMethod(); // "booking"
if ( $Request->hasUnnamedParameters() ) // true
{
$Request->removeUnnamedParameter(0); // -> $Request->hasUnnamedParameters() = false
}
~~NOTOC~~