get html of a vue component to send to api code example
Example 1: fetch in vue 3
# http requests using Fetcht api in Vue 3 explained (see videos below)
https://www.youtube.com/watch?v=-Aoyja_BjZY
https://www.youtube.com/watch?v=LvOYCjpMQ10
Example 2: how to use api url in vue
<a :href="post.url" target="_blank"><img :src="post.image_url"></a>