About 225,000 results
Open links in new tab
  1. jQuery.get () | jQuery API Documentation

    This jQuery XHR object, or "jqXHR," returned by $.get() implements the Promise interface, giving it all the properties, methods, and behavior of a Promise (see Deferred object for more …

  2. Using the Fetch API - Web APIs | MDN - MDN Web Docs

    Mar 20, 2025 · With the Fetch API, you make a request by calling fetch(), which is available as a global function in both window and worker contexts. You pass it a Request object or a string …

  3. JavaScript Fetch API - W3Schools

    The Fetch API interface allows web browser to make HTTP requests to web servers. 😀 No need for XMLHttpRequest anymore.

  4. Setting query string using Fetch GET request - Stack Overflow

    Jan 27, 2016 · How it works: URLSearchParams toString () method will convert the URLSearchParams instance into a string representation, which happens to be a properly …

  5. What is the difference between fetch and jquery ajax?

    Mar 25, 2017 · Fetch specification differs from jQuery.ajax() in mainly two ways: The Promise returned from fetch () won’t reject on HTTP error status even if the response is an HTTP 404 …

  6. How to Use JavaScript Fetch API: Step-by-Step Guide with Examples

    Feb 7, 2025 · The Fetch API provides a modern and flexible interface for making network requests in JavaScript. It allows you to fetch resources like JSON data, HTML, images, and …

  7. Fetch API - Web APIs | MDN

    Apr 9, 2025 · The fetch() method takes one mandatory argument, the path to the resource you want to fetch. It returns a Promise that resolves to the Response to that request — as soon as …

  8. Using fetch instead of jQuery's ajax for a GET API call

    I recently found myself converting a function that calls a remote API, from returning a callback to returning a Promise. I thought that'd be a great opportunity to also replace the $.ajax call with …

  9. Why would you use a fetch get request instead of a jquery Get …

    Apr 11, 2018 · The fetch API is relatively new (at least older than jQuery) and is native to Javascript: that is, you can still use it if you aren’t using jQuery. While I personally prefer the …

  10. Fetch API in JavaScript | GeeksforGeeks

    Feb 14, 2025 · The Fetch API is a modern interface in JavaScript that allows you to make HTTP requests. It replaces the older XMLHttpRequest method and provides a cleaner and more …