function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
sony sonusony sonu 

rest callouts through local server

hai,,,,thinking to have  have to talk to your network engineers and have them whitelist a range of Salesforce IP ranges ..See the following document:

 All i need to do is retrieve values from external application . When i tried to use the Chrome APP 'Advanced Rest Client' and have passed the appropriate URL format in the form of POST methoed I was able to retrieve the values from local server database.
For EG : If i pass 92126 then i was able to get 'SAN DIEGO' which is correct.

Here is the link (https://chrome.google.com/webstore/detail/advanced-rest-client/hgmloofddffdnphfgcellkdfbfbjeloo?hl=en-US)for Advanced REST Client.


PROBLEM from Salesforce :

2) When i created this REST class in SAlesforce and tried invoking the End Point then its throwing this error.

System.HttpResponse[Status=Service Unavailable, StatusCode=503]


saved the url site in remote site setting also,, as salesforce ip address are dyamically changing everytime ....our network engineers are refusing to add/whitelist too many ip address in the local server.. instead they are asking to provide 2 ip address ..what will be your suggestion ...