{"ScriptPreparationCode":"function showResult(data) {\r\n console.log(data);\r\n}\r\nvar newUrl = \u0022https://owapi.net/api/v3/u/Switch-12574/blob\u0022;","TestCases":[{"Name":"Native XHR","Code":"var xhr = new XMLHttpRequest();\r\nxhr.open(\u0022GET\u0022, newUrl, true);\r\nxhr.onreadystatechange = function() {\r\n if (xhr.readyState === 4) {\r\n showResult(xhr);\r\n }\r\n}\r\nxhr.send();","IsDeferred":false},{"Name":"Native XHR 2","Code":"var xhr = new XMLHttpRequest();\r\nxhr.onload = showResult;\r\nxhr.open(\u0022GET\u0022, newUrl, true);\r\nxhr.send();","IsDeferred":false},{"Name":"Native fetch.then","Code":"var request = fetch(newUrl).then(showResult);","IsDeferred":false},{"Name":"jQuery Ajax","Code":"var request = $.ajax({\r\n type: \u0022GET\u0022,\r\n url: newUrl,\r\n success: showResult,\r\n data: null\r\n});","IsDeferred":false},{"Name":"jQuery Ajax (Async)","Code":"var request = $.ajax({\r\n type: \u0022GET\u0022,\r\n async: true,\r\n url: newUrl,\r\n success: showResult,\r\n data: null\r\n});","IsDeferred":false},{"Name":"jQuery Get","Code":"var request = $.get(newUrl, showResult);","IsDeferred":false},{"Name":"jQuery Get 2","Code":"var request = $.get(newUrl).done(showResult);","IsDeferred":false},{"Name":"jQuery getJSON","Code":"$.getJSON(newUrl, null, showResult);","IsDeferred":false}]}