how to make api request 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>