{"ScriptPreparationCode":null,"TestCases":[{"Name":"jquery ajax","Code":"function getDataViaJQAjax()\r\n{\r\n $.ajax({\r\n type: \u0022GET\u0022,\r\n url: \u0022https://discovery.googleapis.com/discovery/v1/apis\u0022,\r\n success: console.log,\r\n data: null,\r\n })\r\n}\r\n\r\ngetDataViaJQAjax()\r\n \r\n\r\n","IsDeferred":false},{"Name":"fetch","Code":"async function getDataViaFetch() {\r\n try {\r\n const response = await fetch(\u0022https://discovery.googleapis.com/discovery/v1/apis\u0022)\r\n const json = await response.json()\r\n console.log(json)\r\n } catch (error) {\r\n console.error(error.message)\r\n }\r\n}\r\n\r\ngetDataViaFetch()","IsDeferred":false}]}