I am checking whether a particular email address already exists in the database or not, an AJAX function sends the email address for the server to check.
What is the best way for the server to respond? Should the response be just true or false or maybe I should be sending some specific response codes?