What are the ingredients of it?

その材料は何ですか?

料理に何が入っているか聞くとき

 

What ingredients did you use in it?

どんな材料を使いましたか?

もOK