Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Named Credential Callout Sample
HttpRequest req = new HttpRequest();
String callout = 'callout: ' + NAMED_CREDENTIAL_NAME + '/services/apexrest/REST_EndPoint';
req.setEndpoint(callout);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment