i hv to call API's from a given url in my code. I try to call url using curl. now i want to use APi's provided by this url in my code
A:
A web service API typically just communicates over the HTTP protocol. You send some specific requests and receive answers in a certain format, the same thing your browser does with websites. cURL is a great tool to do so.
The specifics will really depend on the API in question, you should study whatever documentation they provide for it.
deceze
2010-03-16 06:11:13
A:
If you are working with APIS that are based on xml and support the soap protocol a better idea will be just to use soap then curl (less code needed)
alex
2010-03-16 07:57:20