qicosmos / cinatra

modern c++(c++20), cross-platform, header-only, easy to use http framework

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

开发RESTful服务端时如何设定路径参数?

qianxiaoming opened this issue · comments

如何设定和获取在URL中的参数呢?比如:
http://localhost/api/v1/datasets/{setid}/items/{itemid}
如何设定这种url中的路径参数并在响应函数中获取值呢?是否支持?

目前还没支持,作为一个feature还是要支持一下。

pr 已经支持了该功能。