【发布时间】:2019-04-12 18:43:13
【问题描述】:
我正在尝试使用 Grapevine 创建一个 RESTFUL API。 我想创建动态路径,例如
[RestRoute(PathInfo = "api/eshare/getcustomersbyname/{namepart}", HttpMethod = HttpMethod.GET)]
目的是搜索所有存在{namepart}的客户并返回json。
当我在浏览器中输入http://localhost:2000/api/eshare/getcustomersbyname/bio 时,我总是得到:Route not Found for GET api/eshare/getcustomersbyname
感谢帮助
【问题讨论】:
标签: grapevine