how to call api using url in vue js code example Example: how to use api url in vue <a :href="post.url" target="_blank"><img :src="post.image_url"></a>