Consider the following code snippet:
Which two steps should the developer take to add flexibility to change the endpoint and credentials without needing to modify code?
Choose 2 answers
Use req. setindpoint ('callout:endFoint_NC'); within the callout request.
Store the URL of the endpoint in a custom Label named endpointuRL.
Create a Named Credential, endPcint_wc, ta store the endpoint and credentials.
Use red. setEndpoint (Label.endPointURL) ;.
Submit