[Cuis] WebServer (from Cuis-WebClient) working

David Graham david at unthinkable.org
Tue May 29 18:12:16 CDT 2012


I'm using the term working very loosely. :)

To test, download and install the latest Cuis-WebClient package.  Then 
open a workspace and evaluate:

response := 'Hello from Cuis!'.
WebServer reset default listenOn: 8080.
     WebServer default addService: '/test' action:[:req|
         req stream200Response: (response readStream) size: response 
size type: 'text/plain'.
     ].


Now open your web browser and enter the following URL:
http://localhost:8080/test




More information about the Cuis mailing list