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.
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.