Skip to main content
Dillip Emmanuel 님이 #Apex에 질문했습니다
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
답변 1개
  1. 2015년 8월 27일 오후 9:00
    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.
0/9000