Given the following jQuery code that makes an ajax call:
$.ajax({
url: "test.html",
context: document.body
}).done(function() {
$( this ).addClass( "done" );
});
The problem I have is that the user could manually enter test.html on the URL and see the response on the screen. How to avoid that?