Thu. May 19th, 2022

I will share the build to make a simple REST callout using Lightning Web Component Controller.

We will use a sample third-party domain to do the callout.

Configuration:-
You have to add a named credential in your salesforce org first.

Apex Class:-

DogApi.js

DogApi.html

DogApi.xml

Output

Checkout complete video tutorial below

Leave a Reply

Your email address will not be published. Required fields are marked *

error: Content is protected !!