Tx for the pointer. I was planning to read the seaside implementation to understand. I read your Simple Web App but it was not there, nor in Teapot, nor in tinyblog (obviously). So I will have a look at the one. I think that al the docs are only showing displaying information while inputting is the other half of the story.
On Sat, Dec 17, 2016 at 12:31 PM, Sven Van Caekenberghe <s...@stfx.eu> wrote: > I meant section 11 of the Zinc HTTP Server chapter > > https://ci.inria.fr/pharo-contribution/job/EnterprisePharoBook/ > lastSuccessfulBuild/artifact/book-result/Zinc-HTTP-Server/ > Zinc-HTTP-Server.html > > > On 17 Dec 2016, at 11:56, Sven Van Caekenberghe <s...@stfx.eu> wrote: > > > > Chapter 11 : Scripting a REST Web Service with Zinc > > > > of the Enterprise book > > > >> On 17 Dec 2016, at 11:31, stepharong <stephar...@free.fr> wrote: > >> > >> Hi > >> > >> This is probably a stupid question but I dare to ask it. > >> > >> I have a tiny teapot application (based on the library example) and I > would like to let the use add an item or edit an item. > >> I do want to force the user to do it via the request path with a post > or that way > >> > >> ZnClient new > >> url: 'http://localhost:8080/books/1'; > >> formAt: 'author' put: 'SquareBracketAssociates'; > >> formAt: 'title' put: 'Pharo For The Enterprise'; put > >> > >> I know how to do it in Seaside but I feel spoiled because I do not know > how to do it in plain html to serve it with Teapot. > >> > >> I noticed that in none of our chapters (Teapot, ZnApplication chapter, > tinyblog-teapot, tinyblog-seaside) shows how to do it. > >> > >> > >> -- > >> Using Opera's mail client: http://www.opera.com/mail/ > >> > > > > >