SPServices with SharePoint Add-ins?

Aug 19 at 1:09 AM
I haven't have the chance to try it yet but I'm watching a Pluralsight tutorial on how to create hosted add-ins for SharePoint online.

In the tutorial they talk a lot about how add-ins run on a different domain then the main tenant and I know that SPServices has issues with that.

So if I was planning on building an add-in would SPServices work at all?

Thanks.
Coordinator
Aug 22 at 6:49 PM
SPServices doesn't have a problem with cross-domain requests: browsers do. It's a security measure and it makes sense, but it can be frustrating.

The answer is a classic "it depends". But if you're building Add-Ins, you should really consider using REST anyway.

M.