You could append parameters to the URL when the value of an input changes. Then after trigger a new request to fetch new results.
What have you got so far, in terms of code?
Hi, I am building an e-commerce site for my college graduation and facing an issue with vuejs to send the ajax call. URL like this is giving me result easly no what so ever issue here =>
https://ecommerce.test/api/categoryproducts?brand=apple
but now I want to send the request like this =>
https://ecommerce.test/api/categoryproducts?brand=apple&minPrice=0&maxPrice=6500
If i hit this URL I'm successfully fetching the result in JSON but now the issue is how can i send this request using vuejs component like in anchor tag.
Any way to solve this issue??
You could append parameters to the URL when the value of an input changes. Then after trigger a new request to fetch new results.
What have you got so far, in terms of code?
Please or to participate in this conversation.