There are two different types of callouts:
- Simple Object Access Protocol (SOAP): This communication protocol uses XML to communicate between the two devices. You provide an XML-request (according to the WSDL structure of the service) to the SOAP service and receive an XML message as the answer.
- REpresentational State Transfer (REST): This communication protocol can use XML and JSON messages to communicate. Depending on the type of protocol (such as GET, POST, and DELETE), logic in the service will be executed with the data that's provided. The data can be in the body of your request, or in the URL. You've already seen that Salesforce URLs display data on your screen. This URL is always the same, but the parameter of recordId ...