使用VueJs的条带API请求
我正在使用vuejs发出以下get请求:使用VueJs的条带API请求,api,request,vue.js,stripe-payments,Api,Request,Vue.js,Stripe Payments,我正在使用vuejs发出以下get请求: this.$http.get(`api.stripe.com/v1/search?query="+email"` ).then((response) => { console.log(response) }) 问题是此请求指向: 我需要指出: 如何实现这一点?使用.get(https://api.stripe.com/v1/search?query=“+电子邮件”)?它第一次不起作用。但现在确实如此。
this.$http.get(`api.stripe.com/v1/search?query="+email"` ).then((response) => {
console.log(response)
})
问题是此请求指向:
我需要指出:
如何实现这一点?使用.get(
https://api.stripe.com/v1/search?query=“+电子邮件”
)?它第一次不起作用。但现在确实如此。新手犯的错误。非常感谢。