Even more correct would be to use an array:
stuff=("foo foo" "bar" "baz")
for route in "${stuff[@]}"; do
curl localhost:8080/"$route"
done