Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

axios

//npm install axios

const axios = require('axios').default;
async function getUser() {
  try {
    const response = await axios.get('/user?ID=12345');
    console.log(response);
  } catch (error) {
    console.error(error);
  }
}
Source by axios-http.com #
 
PREVIOUS NEXT
Tagged: #axios
ADD COMMENT
Topic
Name
9+6 =