Salesforce Certified Platform Developer II (Plat-Dev-301) Exam - Topic 10 Question 60 Discussion
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. and C) Use req.setEndpoint(,callcut:endPoint_NC,); within the callout request.
B) Store the URL of the endpoint in a custom Label named endPointURL.
D) Use req.setEndpoint(Label.endPointURL);.
Rose
7 months agoElbert
7 months agoOlive
7 months agoCoral
8 months agoChaya
8 months agoIola
8 months agoYolande
8 months agoDawne
8 months agoDemetra
8 months agoClaudio
8 months agoCecil
8 months ago