There might be some class you could add thru vendor to ease using CURL.

Using file_get_contents is as direct as using echo. Besides creating a
shortcut there is not much to make it easier using cake or anything
else for that matter.

$xml = file_get_contents( http://api ... );

If you can choose, then use CURL, because it has features like
request-timeouts etc. Pretty much like using sockets for
server-to-server communication.

Hope this helps.

On 4/6/07, Tonyz <[EMAIL PROTECTED]> wrote:
>
> I read this article on yahoo developer network because I would like in
> my cake app to display search results from yahoo. The article is at
> http://developer.yahoo.com/php/howto-reqRestPhp.html
>
> There is some built in class of cake who can perform rest request to a
> webserver with curl or file_get_contents?
>
>
> >
>


-- 
Regards, Kjell
www.m3nt0r.de

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to