def METHOD_NAME(self, key: str, default: Optional[Any] = None) -> Any:
    """Depending on request type, get data from post or get"""
    if self.request.method == "POST":
        return self.request.POST.get(key, default)
    return self.request.GET.get(key, default)