Answers for "sample api test online"

2

dummy api json

var xhr = new XMLHttpRequest();
xhr.open("GET", "https://reqres.in/api/products/3", true);
xhr.onload = function(){
    console.log(xhr.responseText);
};
xhr.send();
Posted by: Guest on April-14-2020
0

sample api test online

let url = 'https://api.sheety.co/5f379c8292c16fcc323cfab50592b0e0/licences/feuille1';
fetch(url)
.then((response) => response.json())
.then(json => {
  // Do something with the data
  console.log(json.feuille1S);
});
Posted by: Guest on March-14-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language