changed GET and POST url to point to server address