0👍
It’s not a string but a template literal
await Axios.put(`${todoUrl}/${id}`, this.todoItem);
...
await Axios.delete(`${todoUrl}/${id}`, this.todoItem);
Wrap your code with backtick symbol `
instead of '
single quote
Source:stackexchange.com