Fetching details from the dictionary...
Shinto or Buddhist prayer
病気平癒の願立てをして神社に参拝した。
I visited the shrine to pray for recovery from illness.
合格祈願の願立てをした絵馬を奉納した。
I dedicated an ema plaque with a prayer for passing the exam.
願立てが叶い、家族で御礼参りに行った。
The prayer was answered, so the whole family went to give thanks at the shrine.