0👍
This should do the work:
fetch("http://magento.example.com/rest/V1/wishlist", {
method: "GET",
headers: {
Authorization: "Bearer pbhercbtk6dd3eatf1pyx8jj45avjluu"
}
})
.then(res => res.json())
.then(response => {
console.log(response);
});
- [Vuejs]-Very weird reactivity issue with firebase (firestore) and vuejs + vuefire
- [Vuejs]-Best way to render variables inside html you get from an API in VueJS
Source:stackexchange.com