{"ScriptPreparationCode":null,"TestCases":[{"Name":"Xhr","Code":"const xhr = new XMLHttpRequest();\r\nxhr.open(\u0027GET\u0027, \u0027https://www.googleapis.com/discovery/v1/apis\u0027);\r\nxhr.onload = () =\u003E console.log(JSON.parse(xhr.responseText));\r\nxhr.send();","IsDeferred":false},{"Name":"Fetch","Code":"fetch(\u0027https://www.googleapis.com/discovery/v1/apis\u0027).then(response =\u003E response.json()).then(console.log)\r\n","IsDeferred":false},{"Name":"Ajax","Code":"$.ajax({\r\n\turl: \u0027https://www.googleapis.com/discovery/v1/apis\u0027, \r\n\ttype: \u0027GET\u0027,\r\n\tdataType: \u0027json\u0027,\r\n\tasync: false,\r\n})\r\n.done(function(res) { \r\n\tconsole.log(res)\r\n})","IsDeferred":false}]}