wwJsonServiceClient::cServiceUrl

The base Url for the service.

Optional but useful to allow switching between test/live deployments without having to hardcode URLs.

*** Test
cServiceUrl = "https://test-albumviewer.west-wind.com/api/"

*** Production
* cServiceUrl = "https://albumviewer.west-wind.com/api/"

Then in code instead of using the full URL you can use build up the URL:

this.CallService(this.cServiceUrl + "albums")
o.cServiceUrl

See also:

Class wwJsonServiceClient

© West Wind Technologies, 1996-2024 • Updated: 10/12/18
Comment or report problem with topic