Server-Side APIs

Different APIs

There is more than one way to request data from a server-side API.

  • An XMLHttpRequest was the predecessor to fetch.

  • AJAX is another alternative to fetch. AJAX requests require the use of the third-party library, jQuery, to work.