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
indreshmsindreshms 

VisualForce EndPoint for REST API

Hi,

 

May be this is a fundamental question (I also see a ton of queries regarding the same, but could not find any answer).

 

Is there a reason why th VF endpoint is not the same as API endpoint for REST API (unlike the SOAP API which happens to be the same). Because of different domains, one has to fallback on reverse proxies to make calls using Javascript clients.

 

I know that this restriction exists for a reason. Just curious to know why this is.

 

Thanks, Indresh