Hi,
i have two different urls one is online and another is offline
i have done the following in setting service
online https://onlineurl
offline http://offlineurl
whenever a user log in he need to choose online or offline by clicking on respective buttons. on click of buttons am storing the url in localstorage. so i need to toggle the url as per the user selection. how can i pass the local storage value in the service url.
so how can i change the url in the service call
waiting for reply. Thanks