How to Call an REST endpoint with basic auth from salesforce?

In order to call an external server, we have to add the URL in Remote Site Settings.
Click Setup > Security Controls > Remote Site Settings > New Add external site name and endpoint URL
Site:cheenath endpoint url:https://yourendpoint.details/

Now we can call the rest endpoint as


About the author

Janaki( - A Software developer with 9+ years of experience in multiple technology projects across web, mobile, and cloud applications with expertise in PHP, C#, MySQL, Web services and open source platforms.

Similar Posts

Sample nginx vhsot config file
Uninstall MySql on a Mac OS X
VMWare shared folder as apache vhost

Comments are closed.