I have the following scenario:
1) Upon create/update of the list item in https://teams.comp.com/sites/grpSite/Lists/Products
2) I need to create the corresponding list imte in https://secureteams.comp.com/sites/grpSiteMain/Lists/Products.
I have contribute rights on both sites and able to create/update via UI. However, to achieve automation I need to use REST API on create/update form for #1, so that it updates automatically. I have tried using REST API but it is failing, I have tried with SP.RequestExecutor with token but I think that is for app only.
I need to do it for one site collection to other site collection without using the app. Please let me know how it can be done.
I have option of using SharePoint 2013 and JavaScript CSOM only.
- Edited by Shalin Parmar 2 hours 46 minutes ago forgot to add version