<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On 12 December 2017 at 15:41, Tobias Pape <span dir="ltr"><<a href="mailto:Das.Linux@gmx.de" target="_blank">Das.Linux@gmx.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
FYI, Paul has made a cross-platform wrapper for web api clients<br>
 :)<br></blockquote><div><br></div><br class="gmail-Apple-interchange-newline"><div>Thanks for the tip. I only skimmed it before since it didn't have much in depth about JSON parsing.</div><div>Now I've got that sorted I'll go back and have another look.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
> Begin forwarded message:<br>
><br>
> From: Paul DeBruicker <<a href="mailto:pdebruic@gmail.com">pdebruic@gmail.com</a>><br>
> Subject: Re: [Pharo-users] REST client hints<br>
> Date: 5. Dezember 2017 um 19:46:48 MEZ<br>
> To: <a href="mailto:pharo-users@lists.pharo.org">pharo-users@lists.pharo.org</a><br>
> Reply-To: Any question about pharo is welcome <<a href="mailto:pharo-users@lists.pharo.org">pharo-users@lists.pharo.org</a>><br>
<span class="gmail-">><br>
><br>
</span>vvvvvvvvvvvvvvvvvvvvvvvvvvvvv<br>
<span class="gmail-"><br>
> I also started/made a cross platform web client wrapper (just wraps calls to<br>
> ZnClient or WebClient on Squeak)<br>
> <a href="http://smalltalkhub.com/#!/~pdebruic/HTTPAPIClient" rel="noreferrer" target="_blank">http://smalltalkhub.com/#!/~<wbr>pdebruic/HTTPAPIClient</a></span></blockquote><div><br></div><div><br></div><div>I noticed some minor anomalies:</div><div>* HTTPAPIClient >> get:data:   </div><div>  calls   #get:contents:   which seems to not exist</div><div><br></div><div>* HTTPAPIClient >> responseStatusFor:</div><div>  calls   #headResponseStatusFor:   which seems to not exist</div><div><br></div><div>That is with "ConfigurationOfHTTPAPIClient load"</div><div>from ConfigurationOfHTTPAPIClient-PaulDeBruicker.10</div><div>on Pharo 6.1.<br></div><div><br></div><div>cheers -ben</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="gmail-"><br>
><br>
> But IIRC I only used it in the Stripe API client.<br>
><br>
<br>
</span>^^^^^^^^^^^^^^^^^^^^^^^^^^^^^<br>
<div class="gmail-HOEnZb"><div class="gmail-h5">><br>
> Hope this gives you some ideas about how to approach your own solution<br>
><br>
> Paul<br>
><br>
><br>
><br>
> Ben Coman wrote<br>
>> I'm just about to write my first client interface to a REST service.<br>
>> In some respects I understand this is as simple as doing GET responses<br>
>> using Zinc,<br>
>> but I'm inquiring about tutorials or libraries that might help.  Most<br>
>> of the stuff turned up by searches is about server-side of REST.<br>
>><br>
>> cheers -ben<br>
><br>
><br>
><br>
><br>
><br>
> --<br>
> Sent from: <a href="http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html" rel="noreferrer" target="_blank">http://forum.world.st/Pharo-<wbr>Smalltalk-Users-f1310670.html</a><br>
><br>
<br>
<br>
</div></div></blockquote></div><br></div></div>