Hi Ben, I've made a few REST Clients http://smalltalkhub.com/#!/~pdebruic/Stripe http://smalltalkhub.com/#!/~pdebruic/Tropo http://smalltalkhub.com/#!/~pdebruic/SegmentIO And the elasticsearch one but its been advanced mostly lately by Sho Yoshida (https://github.com/newapplesho) here https://github.com/newapplesho/elasticsearch-smalltalk He has also made REST clients for Twilio, AWS, SendGrid, Salesforce, and Mixpanel among others. Norbert Hartl made one for Mandrill (Mailchimps transactional email service) http://smalltalkhub.com/#!/~NorbertHartl/Mandrill And Francois Stephany made one for Postmark (another transactional email service) http://smalltalkhub.com/#!/~PharoExtras/Postmark So those are some examples of different approaches. I also started/made a cross platform web client wrapper (just wraps calls to ZnClient or WebClient on Squeak) http://smalltalkhub.com/#!/~pdebruic/HTTPAPIClient But IIRC I only used it in the Stripe API client. Hope this gives you some ideas about how to approach your own solution Paul Ben Coman wrote
I'm just about to write my first client interface to a REST service. In some respects I understand this is as simple as doing GET responses using Zinc, but I'm inquiring about tutorials or libraries that might help. Most of the stuff turned up by searches is about server-side of REST.
cheers -ben
-- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html