function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

Using apex to communicate with other apis?

Hi is there any tutorials or articles in which shows how you can use apex to communicate with other apis?
Ron HessRon Hess
We have a good session covering this on Monday June 23 in Santa Clara, attend if you can!

Otherwise will try to publish details on how you can do this soon.  There is some code in the docs that talks to Amazon Alexia service, that is a good start for talking to a REST service.
When you mean docs do u mean the apex programming guide?
Look at the Apex Language Reference under Invoking an external service - it tells you how to generate the client side stubs to consume a SOAP service.  There is also a google toolkit & doc on how to use GData APIs from Google
BTW, you can't use an arbitary transport  protocol to communicate with an external service
Hope this helps