Good Day
I’m on this mission:
Task: Invoke the API Service using generated client SDK
I’ve tried everything without success:
Here is my file structure:
Here is my controller.js file:
Here is the index.html file:
Please assist as nothing seems to be working. Any help would be highly appreciated.
Thanks!
Kreesan
PS: getInstructions is set up in controller.js as per the YouTube tutorial and does not work. The others are left as how the file was downloaded and don’t work either:
I’ve done this as a workaround, only using a controller file as the file that requests are actually made from (no error handling included):
It looks like you have an error on the line
const Backendless = '<script src="../../auth.js"></script>';
It doesn’t work like that.
Try to remove this line, and Backendless library will be defined from the global scope, when you import it at index.html