Updated APIHandler:views.py

Added ugly request handler