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