2

I don't quite understand those concepts. Are they the same?

1 Answer 1

7

No, that's nor quite right. Imagine callout as animal and Http as cat, it's a subclass, not the actual class.

What I mean is you have 2 types of callouts in Apex:

Http http = new Http();
http.send(/*...*/);

and

WebServiceCallout.invoke(/*...*/);

Here is the documentation link.

Not the answer you're looking for? Browse other questions tagged .