zkweb-framework/ZKWeb

How to using RESTful API in ZKWeb?

Tuisku-L opened this issue · 3 comments

The ActionAttribute's path format is '/something',
But I want to use 'GET /something' and 'GET /something/{id}' to create RESTful API.
What should I do?
Thank you very muuuuuuuuch!

For now there no direct support for url formatting like "/something/{id}",
because advance url matching have more overhead.
But I'm thinking about to support it in zkweb 2.0, find a solution that won't cause performance impact.

Ok
I got it.Thanks!

This feature is supported since 2.0 beta 9