pedestal

caleb.macdonaldblack 2019-02-10T22:42:59.036100Z

can i put a namespaced key in a route url? like :foo/bar?

caleb.macdonaldblack 2019-02-10T22:43:47.036900Z

/users/:user/id/contacts Where the namespace key is :user/id

2019-02-10T23:36:44.038100Z

Hi @caleb.macdonaldblack! That won’t work as you’re expecting. :user will be interpreted as the path parameter, not :user/id.

caleb.macdonaldblack 2019-02-10T23:37:30.038900Z

Okay cool. I didn't expect that to work however I wasn't sure if there was another way to achieve that. Perhaps by escaping or something