In this tutorial, we're going to learn how we can call a 3rd party REST API from Salesforce. We're going to create a remote site setting record, perform a GET request and get the response.
The code used in this tutorial is available in the restcallout branch of my github repository here:- https://github.com/rahulmalhotra/SFDC-Integration-Tutorial/tree/restcallout/force-app/main/default/classes and the class name is SFDCStopCallout
Link to blog:- https://www.sfdcstop.com/2019/12/salesforce-integration-tutorial-part-8.html