CoreBOSBB

Full Version: Webservice by cURL?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Preparing for my webservice project, I was wondering the following. I noticed HTTP_CLIENT is the recommended approach, but I also see the latest release is from 2008. I've used simple cURL requests in my ExactOnline module to connect to the Exact API (and have also used cURL to connect to the Twitter API). Wouldn't that be possible?
I suppose so, but the existing libraries are rather easy to use and very tested.
But they're just wrapper classes right?
Yes, they are. cURL works perfectly but the libraries are at a higher level and make it a lot easier.
Ah, thanks. Would you still advise HTTP_CLIENT or a different lib?
For PHP, yes I would, although the truth is that I haven't investigated if better options exist.
I'll see what's out there and if I come accross anything I'll let you know.