PLBWEB_REST_BASEURL Keyword
9.9A
PLBWEB_REST_BASEURL<nn>=<restservice>/
This keyword specifies the base URL used by a web application to access the PL/B REST web service.
This keyword is required and is placed in the [Environment] section of the PWS configuration INI file.
Where:
-
<nn>
-
The 'nn' that is appended to the PWS keyword name and can be a string value from '01' to '99'.
Examples:
PLBWEB_REST_BASEURL01=MyServices/
PLBWEB_REST_BASEURL99=SomeService/
-
<restservice>
-
The assigned keyword string identifies the specific base URL string that must be used when accessing the
PWS server.
Example:
PLBWEB_REST_BASEURL01=MyServices/
-
-
The URL used by the client browser web application would be submitted as follows:
http://127.0.0.1:8081/MyServices/programname
Where:
-
MyServices
-
identifies the PWS web service that is being accessed.
-
programname
-
identifies the PL/B program to be executed at the PWS server.
See Also: PLBWEBSRV Keywords,
Server
Command Line