Category: Apex REST Callouts

POST Data to HttpRequest/HttpResponse

Another common use case for HTTP callouts is sending data to a service. For instance, when you buy the latest Justin Bieber album or comment on your favorite “Cat in a Shark Costume Chases a Duck While Riding a Roomba” video, your browser is making a POST request to submit data. Let’s see how we […]

Read more

Get Data from HttpRequest/HttpResponse

First Authorize Endpoint Addresses: Authorize Endpoint Addresses We love security at Salesforce! So, any time you make a callout to an external site we want to make sure that it is authorized. We can’t have code calling out willy-nilly to any endpoint without prior approval. Before you start working with callouts, update the list of […]

Read more