While, with a little playing, TclWs can be used for calling RESTful services
(see the FreshBook Tcl API), it can not (at this time) be used easily for
creating a RESTful service.
You are likely better off starting with the httpd package (Tcl Core package)
and the JASON packages out of TclLib
--
+------------------------------------------------------------------------+
| Gerald W. Lester |
|"The man who fights for his ideals is the man who is alive." - Cervantes|
+------------------------------------------------------------------------+