wwJsonServiceClient::cServiceUrl

The base Url for the service.

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

foxpro
foxpro
*** 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:

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

See also

Class wwJsonServiceClient

© West Wind Technologies, 2025 • Updated: 2025-03-12
Comment or report problem with topic