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