Named Credentials as Callout Endpoints - Salesforce Developer Guide
Blog
in Salesforce Apex
A named credential specifies the URL of a callout endpoint and its required authentication parameters in one definition. To simplify the setup of authenticated callouts,…