PDII · Question #243
The Salesforce instance at Universal Containers currently integrates with a third-party company to validate mailing addresses via REST services. The third-party address verification system recently…
The correct answer is A. Create a new Remote Site for the new endpoint URL. See the full explanation below for the reasoning.
Question
The Salesforce instance at Universal Containers currently integrates with a third-party company to validate mailing addresses via REST services. The third-party address verification system recently changed endpoint URLs for all their services from https://th-address-service.3pc.com to https://plc1-mailservice.3pc.com. Everything else remained the same. The developer updated code to reflect this endpoint change, but the mailing address validation service stopped working after the change. What else should be done to complete this web service endpoint change?
Options
- ACreate a new Remote Site for the new endpoint URL.
- BUse a Custom Setting with the new endpoint instead of hard coding the URL.
- CTest the callout properly using HttpCalloutMock.
- DAdd web service IP addresses to Trusted IP Ranges in the Network Access security controls
How the community answered
(40 responses)- A83% (33)
- B3% (1)
- C5% (2)
- D10% (4)
Community Discussion
No community discussion yet for this question.