[Solar-talk] Solar_Http_Request, woohoo
Rodrigo Moraes
rodrigo.moraes at gmail.com
Thu May 31 09:10:27 PDT 2007
On 5/31/07, Paul M Jones wrote:
> > From the API docs here ...
> >
> > <http://www.feedburner.com/fb/a/developers/feedapi>
> >
> > ... it looks like the username and password params need to be part of
> > the URI. However, Solar_Http_Request currently expects the URI to be
> > fully-formed, including query params. The class does not merge array-
> > based content with the URI query array on GET requests ... but it
> > will shortly.
They also support HTTP Basic Authentication:
http://www.feedburner.com/fb/a/developers#HTTP_Basic_Authentication
...but I couldn't get it working using setBasicAuth(). Passing the
user/password in the URI worked, though.
> Just committed a change that merges the content array with the URI
> query array, when it's a GET request. Let me know if that works for
> you.
...and now, it worked with less code. It's handy, thanks. :)
My first webservice client is done. Others are coming soon. :)
-- rodrigo
More information about the solar-talk
mailing list