It sort of depends on the cory. Corydoras do like their vegatables, but bloodworms are a favorite treat as well.
Try various vegatables and you may find one they like.
good luck
I haven't had much luck with mine eating fresh veggies, but they do really go for the sinking algae wafers. They also get their fair share of frozen bloodworms and brine shrimp.