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

Install Redis Server in CentOS
Cheat Sheets

Comments are closed.