Is it ok to eat spicy food like salsa and other spicy foods while pregnant?

Its the only thing that I am really craving, I am 22 weeks. WHen I eat it it gives me heartburn but it goes away after I take some tums, but what I want to know is will spicy food hurt the baby? Serious answers only please
Update: its a boy!
14 answers 14