List of generic functions to manage ajax functionalities.
In order to use it, you should import the js file in your HTML page.
<script src=utils.js type="text/javascript"></script>
Utils.AjaxPost(url, JSON.stringify(data), 'json', successCallback); # POST AJAX CALL
Utils.AjaxGet(url, null, 'json', successCallback); # GET AJAX CALL
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.