use axios with hokos code example Example: include axios in javascript <script src="https://cdn.jsdelivr.net/npm/axios/dist/axios.min.js"></script>