search API request works