Add example of XHR rest/json