Friday, June 26, 2009

Re: Connecting to web services

Use a custom datasource & HttpSocket.

On Jun 26, 12:09 am, Turgs <timb....@gmail.com> wrote:
> Hello
>
> Within a few different controllers, I need to connect to a web service
> using a URL similar to:
> http://api.example.com/?command=Subscriber.Add&data...@test.com
>
> What's the appropriate "cake way" to do this in a way it can be called
> from different controllers?
> I don't think it should be in it's own model, but I don't know know
> else.
>
> Kind regards
> Turgs
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

No comments: