I have many parameters that I would like to save in the param
variable and add it to the url
.
How to save this parameter filter% 5Binprogress% 5D = true
in the variable param
?.
I did not have problem with expand
--> expand: track
In tab network return --> "https://spotify?expand=track&filter%255Binprogress%255D=true"
should be --> "https://spotify?expand=track&filter%5Binprogress%5D=true"
%255D ---> should be %5D
const param = {
expand: track,
'filter%5Binprogress%5D': true //problem here
}
axios({
url: "https://spotify?expand=track&filter%5Binprogress%5D=true",
method: "GET",
headers: {
'Authorization': .....
},
param: param
})