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
Dillip Emmanuel 1Dillip Emmanuel 1 

curl command on salesforce platform

I am new to Salesforce platform.  Not sure if it is possible to run CURL command on the Salesforce platform using APEX programming lanugage to retrieve external data source from another website such as ORCID ID from www.Orcid.org website.  Although I have successfully retrieved data from Salesforce object by running CURL command on my Windows 7 based computer.
If it is possible, can you please point me to information on how to run simple CURL command on the Salesforce platform.
Thanks
JitendraJitendra
You should be able to do this in Salesforce / apex. Curl is making Http request so you can using Apex. Check section "HTTP (RESTful) Services" of this article (https://developer.salesforce.com/page/Apex_Web_Services_and_Callouts) to understand more about how to make Http request to external websites. You can try this (http://www.jitendrazaa.com/blog/salesforce/salesforce-to-salesforce-integration-using-named-credentials-in-just-5-lines-of-code/)article as well using Named credential.