skyearin the code sample, where is then configured with a user-specific endpoint and api key. If the container hasn't been configured properly, the SDK functions won't work.
https://<your_app_name>.skygearapp.com/some-apiand some of your code need to retrieve things from it. Within the Skygear container (already configured, of course) is an apiClient with has a method called
fetch. This is essentially the one from Fetch API, just that you only have to provide the api subpath
/some-apiinstead of the full URL.