I am working in a ui project which had a dataservice in a public server. I need to redirect the service calls only to remote . like
http://localhost/project/service/user to http://192.168.3.250:8080/project/service/user
http://localhost/project/service/edit to http://192.168.3.250:8080/project/service/edit
I need to replace the part of the uri and get the response from the remote server.