Answers for "fetch with xml api"

3

fetch api

// Making get requests

const url = "http://dummy.restapiexample.com/api/v1/employees"; 
fetchurl()
     .then(res => {
            console.log(res);
})
      .catch(err => {
             console.log('Error: ${err}' ); 
});
Posted by: Guest on November-27-2020
25

xml http request fetch

fetch('my/url/').then(respone()=>{
		console.log(response);
}
Posted by: Guest on September-16-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language