Added search function for requests.