Tx I will look at ZnClient and see if I understand. Stef
On Jul 2, 2011, at 9:16 AM, Sven Van Caekenberghe wrote: > > On 01 Jul 2011, at 17:52, stephane ducasse wrote: > >> Hi guys >> >> I'm writing with olivier a chapter for the seaside book on REST and olivier >> uses curl to analyse the contents of request and answers >> and I would like to see if we can do it in Pharo. Now can I run zinc in >> another image and spy the requests? >> >> Stef > > curl is a command line http (it also supports some other protocols) client. > it does not spy on conversations between other parties. > > curl is indeed very handy to quickly try out rest calls. > > using the Zn clients you can do almost anything that curl does. > the fact that you have the whole Smalltalk functonality (IDE + language) will > make it much more fun. > > furthermore, it is quite easy to add some extra functionality to make it > super handy to talk to a specific REST host, transparently parsing and > generating JSON with specific conventions or handling certain type of > authorization/authentication. but this is often slightly too specific to turn > into a general client. > > anyway, we're doing it all the time (and are using curl as well). > > sven > >
