-
Notifications
You must be signed in to change notification settings - Fork 97
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Query parameter is not sended in request #23
Comments
Wait so you're saying what you're passing isn't working at all? |
I have the same problem, the query parameter is not sended |
So this is what the request looks like with the original code: And this is the modified code where I added |
Exactly, with your change works fine (return this.$http.get(this.src, {params: Object.assign(queryParam, this.data)}) ) |
Thanks @a47ae for the issue! This is related with the recent changes on Until then, we could use the |
Thanks for clearing that up! |
Hi I am also experiencing this problem, I have just installed everything so assuming I have the latest versions. package.json Typehead.vue - script
EDIT* sorry got mixed up on repos, i applied this fix manually and all is working, just realised PR hasnt been merged yet |
Hey, when I tried out your component I recognized that the query parameter does not got send along with my request. I double checked in the ChromeDev tools but there is no GET parameter in the rquest send by vue-resource. But if I change the line
return this.$http.get(this.src, Object.assign(queryParam, this.data))
toreturn this.$http.get(this.src, {params: Object.assign(queryParam, this.data)})
everything works as expected.
So maybe the
params
option needs to be statet explicitly?The text was updated successfully, but these errors were encountered: