I'm confused by all integration options SharePoint offers. My business case is the following:
I have a static HTML/CSS/JavaScript site hosted outside of SharePoint (so cross domains is an issue here too). My JavaScript code knows the URL of my customers SharePoint site. From my JavaScript code I, for example, want to create a Document Library or retrieve documents from existing document libraries.
Which options do I have to get this working?