• python
  • javascript
  • reactjs
  • sql
  • c#
  • java
Facebook Twitter Instagram
Devs Fixed
  • python
  • javascript
  • reactjs
  • sql
  • c#
  • java
Devs Fixed
Home ยป Resolved: Call url with axios.get with multiple params Vuejs

Resolved: Call url with axios.get with multiple params Vuejs

0
By Isaac Tonny on 17/06/2022 Issue
Share
Facebook Twitter LinkedIn

Question:

I’m trying to call an api which have 2 params. thi is the axios call
but it didn’t work

Answer:

I believe you have to remove everything after the ‘?’ in the url, so your code will look like this:
You shouldn’t have spaces in your url strings. The browser will convert them to ‘%20’ which will cause errors.

If you have better answer, please add a comment about this, thank you!

axios url vue.js vuejs3
Share. Facebook Twitter LinkedIn

Related Posts

Resolved: Sort dataframe columns value by close it to another column

27/03/2023

Resolved: PostgreSQL resample 1 minute OHLCV candle data into 5 minute OHLCV candle data

27/03/2023

Resolved: How do I navigate a table without any easily accessible distinctions?

27/03/2023

Leave A Reply

© 2023 DEVSFIX.COM

Type above and press Enter to search. Press Esc to cancel.