<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16414" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=398283621-25032007><FONT face=Arial 
color=#0000ff size=2>Duncan,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=398283621-25032007><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=398283621-25032007><FONT face=Arial 
color=#0000ff size=2>You should have a look at the class hierarchy of 
HttpOperation in the Passport package (it's part of&nbsp;the Chronos 
distribution, <A 
href="http://www.chronos-st.org">http://www.chronos-st.org</A>).</FONT></SPAN></DIV>
<DIV><SPAN class=398283621-25032007><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=398283621-25032007><FONT face=Arial color=#0000ff 
size=2>--Alan</FONT></SPAN></DIV>
<DIV dir=ltr align=left><BR></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> 
squeak-dev-bounces@lists.squeakfoundation.org 
[mailto:squeak-dev-bounces@lists.squeakfoundation.org] <B>On Behalf Of 
</B>Duncan Mak<BR><B>Sent:</B> Sunday, March 25, 2007 11:44 AM<BR><B>To:</B> The 
general-purpose Squeak developers list<BR><B>Subject:</B> Re: Calling REST APIs 
from Squeak<BR></FONT><BR></DIV>
<DIV></DIV><BR>On 24 Mar 2007 20:59:42 +0100, <B class=gmail_sendername>Lex 
Spoon</B> &lt;<A href="mailto:lex@lexspoon.org">lex@lexspoon.org</A>&gt; 
wrote:<BR>
<DIV>
<BLOCKQUOTE class=gmail_quote 
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">HTTPSocket 
  is really very minimal.&nbsp;&nbsp;No one that I know of has taken<BR>the time 
  to factor out a proper HTTP client out of it.<BR><BR>A great start would be to 
  make an HTTPRequest object out of all the<BR>parameters of all the methods on 
  the class side.&nbsp;&nbsp;One for the URL, one <BR>for GET vs. PUT, one for 
  form arguments, one for authentication info,<BR>etc.</BLOCKQUOTE>
<DIV><BR>This seems like a fun little project to do. Could you elaborate a 
little bit more? I'd like to try to work on this. 
<BR><BR>Thanks,<BR><BR>Duncan.<BR></DIV><BR></DIV></BODY></HTML>