Add base search method to handles HTTP exceptions