Air frying is a great way to cook zucchini without it getting soggy! Because your air fryer basket has holes in the bottom, it allows the moisture that zucchini releases during cooking to drain away, which prevents sogginess.