{"ScriptPreparationCode":null,"TestCases":[{"Name":"vanilla js","Code":"var r = new XMLHttpRequest();\r\nr.open(\u0022POST\u0022, \u0022http://vanilla-js.com/path/to/api\u0022, true);\r\nr.onreadystatechange = function () {\r\n if (r.readyState != 4 || r.status != 200) return;\r\n alert(\u0022Success: \u0022 \u002B r.responseText);\r\n};\r\nr.send(\u0022banana=yellow\u0022);","IsDeferred":false},{"Name":"jquery","Code":"$.ajax({\r\n type: \u0027POST\u0027,\r\n url: \u0022path/to/api\u0022,\r\n data: \u0022banana=yellow\u0022,\r\n success: function (data) {\r\n alert(\u0022Success: \u0022 \u002B data);\r\n },\r\n});","IsDeferred":false}]}