Consider the following code snippet:
Which two steps should the developer take to add flexibility to change the endpolnt and credentials without needing to modify code? Choose 2 answers
A . Create a Named Credential, endPoint_NC, to store the endpoint and credentials.
B. Store the URL of the endpoint in a custom Label named endPointURL.
C. Use req.setEndpoint(,callcut:endPoint_NC,); within the callout request.
D. Use req.setEndpoint(Label.endPointURL);.
Answer: A,C
Latest PDII Dumps Valid Version with 280 Q&As
Latest And Valid Q&A | Instant Download | Once Fail, Full Refund