libraries:restwebservice:restrequestclass:getapplication
RestRequest::getApplication()
Definition
Returns the requested application name, if the webservice is configured to use multiple applications (default).
String getApplication ( )
Returns
- String
Name of the requested application or '' if the webservice is configured to work without multiple applications.
Example
$Request = new RestRequest(); // Webservice is configured to use multiple applications. // Called endpoint is: [GET] https://www.domain.com/webservice/accounting/receipt $ApplicationName = $Request->getApplication(); // "accounting"
libraries/restwebservice/restrequestclass/getapplication.txt · Last modified: 2022/12/21 19:26 by michael.pohl