ajax call enabled to get the content type of the given url by the user