Using relative url for send ajax request.