Hi all, I’m wondering if I can get some help getting started with the APIs and have some questions.
I’m using MockRoutingPack and SafeBrowser.
For example, window.safeAuth.authorise(app) works fine in some examples I’ve run up, but this doesn’t really assist my understanding. The thing is, I can’t relate this syntax to the API docs at https://api.safedev.org/auth/authorize-app.html.
Are we talking the same API? Are there intermediate dependencies somewhere?
So, question. With zero app, simple safe, etc, is the call being made directly to the launcher? Also, in any given context, how to I derive a URL for an API call? It’s confusing to me trying to think about ‘where’ the API is in order to address it, given the fact that there is no server, I’m assuming it’s a path that is understood on the local machine to the Launcher?
Thanks to those who have worked up the examples available so far. If someone can help me over this first little hump, I’d like to create a doc to go from absolute zero to the examples currently available, with an explanation of what is actually happening on an API call. If all goes well I can present this at the SafeNetwork Meetup here in Melbourne next month.