Telling client app where PowerServer Web APIs is

The client app needs to know where to access the PowerServer Web APIs when it starts to run. You can tell a client app where to access the PowerServer Web APIs before and/or after the PowerServer project deployment in the PowerBuilder IDE.

Before the PowerServer project deployment in the PowerBuilder IDE, you can specify the Web API URL field on the Web APIs tab in the PowerServer project painter. Then, the specified Web API URL will be included in the application client-side when it is deployed or installed to the Web server.


After the application is deployed or installed to the Web server, you can change the Web API URL that is included in the application without needing to re-deploying or re-installing the application. To do that, you can run the following commands in the "1.01" sub-folder of the application folder on the Web server.

To get the current URL:

dotnet CustomizeDeploy.dll -url

To change the URL:

dotnet CustomizeDeploy.dll -url=<URL>

For example


For more about how to change the Web API URL using commands, see How-to Guides > Customize the deployed app using commands.