Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

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 www.npmjs.com #
 
PREVIOUS NEXT
Tagged: #axios
ADD COMMENT
Topic
Name
4+7 =