basic ajax request
passing from server to client