How to call Fetch url using HTML ?
-
I want to create html seit and call a URL ('.....') and write die result in Browser console ? how could i do it because i can't get it well i will be glad for an explanation
Using Fetch - Web APIs | MDN[^] Fetch API - Web APIs | MDN[^] If you want to make it work in Internet Explorer, you'll need a polyfill: GitHub - github/fetch: A window.fetch JavaScript polyfill.[^] Alternatively, you could use AJAX, which supports older browsers: Getting Started - Developer guides | MDN[^]
"These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer
-
I want to create html seit and call a URL ('.....') and write die result in Browser console ? how could i do it because i can't get it well i will be glad for an explanation