{"ScriptPreparationCode":"function showResult(data) {\r\n console.log(data);\r\n}\r\nvar newUrl = \u0022https://www.googleapis.com/discovery/v1/apis\u0022;","TestCases":[{"Name":"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":"Fetch","Code":"fetch(newUrl)\r\n .then(\r\n function(response) {\r\n response.json().then(function(data) {\r\n showResult(data);\r\n });\r\n }\r\n )\r\n .catch(function(err) {\r\n console.log(\u0027Fetch Error :-S\u0027, err);\r\n });","IsDeferred":false}]}