In order for the front-end client to connect to the API, you need to specify where to access it. Within the api object, the value of the url key must be set to the URL of the Public Access API. Specifically, this URL is the virtual path to the directory containing the Public Access bin folder, with /api appended. For example:
“url”: “http://example.com/publicaccess/api”
Tip:
In the sample obpa-config.json files provided, the default value of the url key is ../../api. This directs the front-end client to look two directory levels up from the location of the file to find the API. In a typical installation, with the API hosted on the same machine and the directory structure unchanged, this default value can successfully connect the front-end to the API.