Configuring the Web API URL

Now you will need to specify the Web API URL in the client app.

Step 1: Go to the client app folder (for example, "googlecharts_cloud" for Example Graph App, "salesdemo_cloud" for Example Sales App), open the apprun.json file in a text editor.

Step 2: Modify the value of "web_api".

The URL must include the name of the API sub-folder.

For Example Graph App:

{
    "deployment_urls": {
        "launcher": "CloudAppPublisher/CloudAppInstall 25.0",
        "runtime": "CloudAppPublisher/runtime/25.0.0.2648",
        "web_api": "http://localhost:82/googlecharts_cloud_API/"
    }
}

For Example Sales App:

{
    "deployment_urls": {
        "launcher": "CloudAppPublisher/CloudAppInstall 25.0",
        "runtime": "CloudAppPublisher/runtime/25.0.0.2648",
        "web_api": "http://localhost:82/salesdemo_cloud_API/"
    }
}

Step 3: Make sure you modify the apprun.json file in both the "googlecharts_cloud" and "salesdemo_cloud" folders.

After that you should be able to run the installable cloud app with the following URLs:

For Example Graph App: http://localhost:82/googlecharts_cloud/

For Example Sales App: http://localhost:82/salesdemo_cloud/