Answers for "how to send a get request"

9

how to send get request python

import requests
requests.get("https://www.google.com/")
Posted by: Guest on January-05-2020
2

create http request javascript

const Http = new XMLHttpRequest();
const url='https://jsonplaceholder.typicode.com/posts';
Http.open("GET", url);
Http.send();

Http.onreadystatechange = (e) => {
  console.log(Http.responseText)
}
Posted by: Guest on September-14-2020

Code answers related to "how to send a get request"

Python Answers by Framework

Browse Popular Code Answers by Language