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
Sami CohenSami Cohen 

Rest API from javascript

Hi,

 

I would like to implement a chatter component (via Rest API) into  pure HTML & javascript (Not from VisualForce).

The issue is that i cannot call the restapi from javascript due to browser same origin policy.

Do I need a proxy for that?

Is there a workaround?

 

Thanks in advance.