add request saving for ajax type