Mphasis interview question

Ajax call in JavaScript and response codes