Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Webservice by cURL?
#1
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?
Reply
#2
I suppose so, but the existing libraries are rather easy to use and very tested.
Joe
TSolucio
Reply
#3
But they're just wrapper classes right?
Reply
#4
Yes, they are. cURL works perfectly but the libraries are at a higher level and make it a lot easier.
Joe
TSolucio
Reply
#5
Ah, thanks. Would you still advise HTTP_CLIENT or a different lib?
Reply
#6
For PHP, yes I would, although the truth is that I haven't investigated if better options exist.
Joe
TSolucio
Reply
#7
I'll see what's out there and if I come accross anything I'll let you know.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)