Open mrenou opened 9 years ago
Hello,
When I write this :
@Get("/avatars/:userId.png") public Payload getAvatar(String userId) { }
With the http call "GET /avatars/42.png", I expect to have userid equals to "42", actualy, I have userId equals to "42.png".
May be, you could add bracket support, to isolate the variable name, as in jax-rs :
@Get("/avatars/:{userId}.png") public Payload getAvatar(String userId) { }
Thanks.
+1
Hello,
When I write this :
With the http call "GET /avatars/42.png", I expect to have userid equals to "42", actualy, I have userId equals to "42.png".
May be, you could add bracket support, to isolate the variable name, as in jax-rs :
Thanks.