Specifying the Web API URL – PB Docs 2022

Specifying the Web API URL

For the installable cloud application to run successfully, you
need to tell the client app where the Web APIs is hosted and run.

Step 1: Go to the client
app
folder (for example, “salesdemo_cloud”), open the apprun.json file in a text editor.

Step 2: Specify the URL of the docker container where the Web APIs
is running, for example, https://172.16.100.20:5009. This indicates that
the client app will call the Web APIs running on the docker container at
https://172.16.100.20:5009.

  1. The host name (or IP address) of the docker container should
    be specified and it should be the same as that of the docker
    host/Docker Engine. The port number should be the same one specified
    when the docker container is run.

  2. If the host name and port number of the docker container are
    changed later, you only need to update the Web API URL here (it is
    not necessary to update or re-deploy Web APIs to Docker).

  3. It is highly recommended that you specify an HTTPS URL for the
    production environment.


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x