Why isnt this working?


there shouldnt be a cors issue since this is the snap website. was there a change in the few years I was gone that I am not aware of?

Calling a cloud backend is considered a security threat and is prohibited. Even*t* thinking about it :wink:

?

The reason for that error, is because jens doesn't like users messing with the snap api, so he blocked the entire snap domain in snap. In fact, you can get banned for messing with the api (and that has happened before).

tldr, the error is intended, and you should not be trying to access the snap website from a project.

So the Snap! API is blocked, but the Forum API isn't? Does that mean it's okay to use the Forum API?

No (at least I think), I guess they just didn't bother blocking the forum api as well.

AFAIK it is absolutely fine to use the Forum API. There have been numerous topics about it, and nothing bad has come from it.

Edit; while I don't believe there is any direct rule against utilizing the forum API specifically, I would encourage you to ask yourself why you would want to? Jens has said this about it:

Yeah... like 2 or 3. Plus, I think they were all before the whole snap api ban stuff.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.