All Questions
1 question
4
votes
1
answer
8k
views
Should Named Credentials be used to store an API Callout Bearer Token?
Problem
I have a straightforward REST API callout in apex.
request.setEndpoint('https://api.websitename.com');
request.setMethod('GET');
request.setHeader('Authorization','Bearer ...