Skip to content

Instantly share code, notes, and snippets.

Apex REST Callouts from (module - Apex Integration Services)
-------------------------------------------------
SOURCE CODE: AnimalLocator
public class AnimalLocator {
public static String getAnimalNameById (Integer id) {
String AnimalName = '';
Http http = new Http();
HttpRequest request = new HttpRequest();