Axios

De Banane Atomic
Aller à la navigationAller à la recherche

Links

Client side

Html.svg
<script src="https://cdn.jsdelivr.net/npm/axios/dist/axios.min.js"></script>
<script>
    const axios = window.axios;
</script>

Authentication

Js.svg
axios.get(url, { 
    auth: {
        username: 'xxx',
        password: 'yyy'
    }
})
.then(function (response) { });