Added sendAjaxRequest(), allow to specify request method

Add a generic sendAjaxRequest.
It allow us to use different request Methods.