Changed HttpRequest params to constants