Import axios javascript not working

Hello, i would like to know if my connectivity of importing the axios module javascript is working because i tried this one but it result to blank.

await getAxios()
 async function getAxios() {
  const response = await fetch("https://cdn.jsdelivr.net/npm/axios/dist/axios.min.js");
  const minifiedLibrary= await response.text();
  eval(minifiedLibrary)
}

const ws = "https://api.writesonic.com/v1/business/content/ai-article-writer-v2?&end_user_id=test1&engine=economy&language=en";

let config = {
  method: 'post',
  url : "https://api.writesonic.com/v1/business/content/ai-article-writer-v2?&end_user_id=test1&engine=economy&language=en",
  headers: { 
    'Content-Type': 'application/json', 
    'Accept': 'application/json', 
    'X-API-KEY': 'apikey'
  },
  data : data
};
axios(config).then((response) => {
console.log(JSON.stringify(response.data));
})
.catch((error) => {
console.log(error);
});

This topic was solved and automatically closed 15 days after the last reply. New replies are no longer allowed.