ready to implement sendGenericAjaxRequest