Added sendAjaxRequest(), allow to specify request method