diff --git a/_includes/footer.html b/_includes/footer.html index 64d0e244..063553f1 100644 --- a/_includes/footer.html +++ b/_includes/footer.html @@ -66,7 +66,6 @@

Follow Us

- diff --git a/assets/js/api_request.js b/assets/js/api_request.js deleted file mode 100644 index 178a1a37..00000000 --- a/assets/js/api_request.js +++ /dev/null @@ -1,22 +0,0 @@ -var ajaxController = (function(jQuery) { - const requestData = function() { - $.ajax({ - url: "https://api.restful-api.dev/objects/7", - method: "GET", - success: function(response) { - console.log("GET request successful"); - console.log(response); - }, - error: function(xhr, status, error) { - console.error("Error making GET request:", status, error); - } - }); - }; - - return { - init: requestData - }; - -}(jQuery)); - -ajaxController.init();