front-end for AjaxRequest sample