====== RestRequest::hasUnnamedParameters() ======
----
===== Definition =====
Checks if there exist unnamed parameters in the current request. \\
Unnamed parameters are URL value parameters without key/name sent by the client divided by '/' in the URL.
Bool hasUnnamedParameters ( )
===== Returns =====
* **Bool** \\ True, if at least one unnamed parameter exists.
===== 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
{
[...]
}
~~NOTOC~~