score:1

Accepted answer

if you are trying to use the es6 templating feature, you need to use back ticks and not single quotes:

`/api/beers/add/${name}/${country}/${color}/${alcoholpercent}`

Related Query

More Query from same tag