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
zstomehzstomeh 

Access the API from an external website

I just have no idea how to login to sfdc so I can then connect to salesforce API.
 
My questions are:
How to login to sfdc from a website( which in turn builds a session)
Can it be done from an HTML page, or asp, or what?
 
A sample would be greatly appreciated.....
 
Please help,
 
sfdcfoxsfdcfox
You can only connect from the server-side, generally, as most browsers won't allow cross-site scripts (security issues). You may want to do some research on the web in regards to that issue. Otherwise, if you'd like to have the server do the API calls, you can do that with any server that can make use of web services. The Apex Wiki has lots of examples on how to do just that.

~ sfdcfox ~