I've got an axios call in my Vue app that's failing:
axios.get(`parts/${item.number}`)
.then(response => { /* do things */ });
...because sometimes the item.number contains a / …not good to have extras of those in a URL. What's the recommended way to HTML encode that item.number?