Added a method for making get search requests to views.py