Mixed Content: The page at 'https://w3codegenerator.com/' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint
Sometimes you get the error Mixed Content: The page at 'https://w3codegenerator.com/' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint in your console on call some ajax request on specific url with insecure XMLHttpRequest endpoint.
-
Remove http:// and add https:// on call ajax in url parameters to avoid insecure XMLHttpRequest endpoint request
<script> $.ajax({ type: "GET", url: 'https://api.joind.in/v2.1/talks/10889', data: { format: 'json' }, success: function(response){ console.log(response); } }); </script>
Change from url: 'http://api.joind.in/v2.1/talks/10889', to url: 'https://api.joind.in/v2.1/talks/10889', in ajax parameters
If you like what you are reading, please consider buying us a coffee ( or 2 ) as a token of appreciation.
Don't forget to share this article! Help us spread the word by clicking the share button below.
We appreciate your support and are committed to providing you valuable and informative content.
We are thankful for your never ending support.
Random Code Snippet Queries: Jquery
- Execute function after Ajax call is complete
- Jquery.validate.min.js:4 Uncaught TypeError: Cannot read properties of undefined (reading 'mode')
- How to reset form input element on click
- JQuery find text and show as bold in html page
- Uncaught TypeError: $.ajaxSetup is not a function
- How to preview image before uploading in jQuery
- Enable click event on appended element using jQuery
- Add and remove input fields on click button using jQuery
- How to check object is empty or not in jQuery
- Preview image in base64 format using jQuery on change input file
- Ajax done fail ajaxcomplete in not a function
- Get the href link on click anchor in javascript
- Validate form using jQuery
- Ajax for multiple form
- Preview image in BLOB URL format on choose file in jQuery
- How to get closest form input value in jQuery
- How to use and purpose of localstorage in javascript
- How to find closest upper element and append html to below it in jquery
- How to remove Choose File button in jquery
- How to check ajax request is completed in jQuery
- Append method to add text to body not working
- How to pass javascript variable to laravel route on ajax call
- Show and hide target element on click button using javascript/jquery
- Uncaught TypeError: $.ajax is not a function
- How to create read more in jquery