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
vishesh91vishesh91 

consume rest service from pure javascript

I am creating a browser extension which posts to chatter using rest api.Once I get the access_token from OAuth user agent flow,I can not make call to rest services from javascript,due tobrowser  same origin policy.I do not want to use a server as proxy,since I want to make the extension purely client side.

 

I tried JSONP workaround,but it only works for GET,I need POST to post a feed to chatter

 

is there a possible way.Please suggest some work around