implement GET req for search.