Do want to build/use a REST API or do you want to build a simple web app ? I thought you wanted to do the first. The second is easy too, ZnDefaultServerDelegate>>#formTest1: #formTest2: #formTest3: are doing that (in a single handler, generating the page, using the submitted info as well.
On 17 Dec 2016, at 15:13, stepharong <stepharong@free.fr> wrote:
Ok I read it but I do not understand how I should do it ;(
With teapot or Zinc I want to be able to serve an html string (containing a form probably with a submit button) that will let the user to pass some data and that the server can access this data and invoke a method.
I want to get the same behavior than textInput in seaside
My user has only one web browser. May be this is obvious in the chapter but I do not see it.
Stef