You need to sign in to do that
Don't have an account?
RyanLorenzen
testing connection to external system
Is there an easy to confirm that Salesforce has access to an external endpoint? I want to do this before I do any Dev. I need to simulate a call coming in from a Salesforce IP, not my own.
You can use the Http, HttpRequest, and HttpResponse classes.
Open the Developer Console and run an anonymous script by clicking Debug > Open Execute Anonymous Window.
Execute the following:
* Before doing this, you'll need to add your endpoint to the Remote Site Settings if you haven't already done so. Go to Setup > Remote Site Settings > Add a new Endpoint. Otherwise, Salesforce will not allow the callout to this endpoint.
Hope that helps,
Clint