pencil icon indicating copy to clipboard operation
pencil copied to clipboard

URL routing with query parameters

Open golddranks opened this issue 9 years ago • 1 comments

Hi, I'm trying to define a RESTful API, and defined a route like this: app.put("/api/words/<id:int>?publish", "set_publish_words", set_publish); However, it seems that having query parameters like "?publish" is not supported.

In my opinion, they should EITHER 1) be supported (this would be nice) 2) or the call should fail, to signal that they, in fact, aren't supported.

golddranks avatar Nov 16 '16 12:11 golddranks

I run into the same problem. Support for parameters would be very nice indeed

WonderboyFromMars avatar Nov 24 '16 21:11 WonderboyFromMars