use getRequest() method
compare object instead of string