About 548,000 results
Open links in new tab
  1. HTTP GET request in JavaScript? - Stack Overflow

    Oct 29, 2008 · You can get an HTTP GET request in two ways: This approach based on xml format. You have to pass the URL for the request. xmlhttp.open("GET","URL",true); xmlhttp.send(); This one is based on jQuery. You have to …

  2. JavaScript Get Request – How to Make an HTTP Request in JS

    Dec 15, 2022 · There are two popular methods you can easily use to make HTTP requests in JavaScript. These are the Fetch API and Axios. How to Make a GET Request with the Fetch API. The Fetch API is a built-in JavaScript method for retrieving resources and interacting with your backend server or an API endpoint.

  3. How to Make HTTP GET Request in JavaScript - W3docs

    Read the tutorial and learn the how to make an HTTP GET request in JavaScript and make an asynchronous request and handle the response inside event handler.

  4. How to Make a HTTP Request in JavaScript? - GeeksforGeeks

    May 22, 2024 · To make an HTTP call in Ajax, you need to initialize a new XMLHttpRequest () method, specify the URL endpoint and HTTP method (in this case GET). Finally, we use the open () method to tie the HTTP method and URL endpoint together and call the send () …

  5. JavaScript Get Request – How to Make an HTTP Request in JS

    Aug 30, 2024 · The GET request method retrieves data from a server API or backend. This guide demonstrates multiple techniques for making GET requests using JavaScript. We‘ll cover: By the end, you‘ll understand the landscape of options and best practices for integrating GET requests on the front end.

  6. JavaScript GET Request with Example Code

    JavaScript GET Request with Example Code Definition. A GET request is a fundamental HTTP request made using the standard HTTP method GET. This type of request is used when you need to retrieve data from a server. Here's a more detailed explanation of GET requests and their role in web development:

  7. A Beginner's Guide to Making GET Requests with JavaScript

    Mar 9, 2025 · When it comes to interacting with servers and retrieving data, making a GET request is one of the most fundamental concepts in web development. In this blog post, we'll explore how to send a basic GET request using JavaScript, its applications, and why it's an essential skill for any web developer.

  8. How to make a GET request using JavaScript? - ReqBin

    Nov 28, 2023 · To make a GET request with JavaScript, call the fetch () method and provide the target URL. The fetch () uses GET by default if no HTTP method is passed. To send additional HTTP headers to the server with your JavaScript GET …

  9. How to Get HTTP GET Request in JavaScript - Delft Stack

    Mar 11, 2025 · Learn how to make HTTP GET requests in JavaScript using XMLHttpRequest and the Fetch API. This comprehensive guide covers both methods, complete with code examples and detailed explanations to help you retrieve data from web servers effectively.

  10. How to Make HTTP GET Request in JavaScript - Programming …

    The XMLHttpRequest object is the most common way to make an HTTP GET request in JavaScript. It allows you to send a request to a server, receive the response, and manipulate the response as needed. The following code example shows how to use the XMLHttpRequest object to make an HTTP GET request:

Refresh