I can’t seem to make backend web modules work.
Trying to link a button on a page to backend .jsw code that calls my API Server. I have written and rewritten my JavaScript and API code many times, but contiunue to get
“Unhandled promise rejection TypeError: (0 , _wixFetch2.default) is not a function” error …
So, I decided either to relearn JS or copy verbatim your SendEmail example from:
https://support.wix.com/en/article/calling-server-side-code-from-the-front-end-with-web-modules
In addition to some caution errors, once wired to the button, it gets the same error message … which by it’s description seems to be one layer below what I am conbtributing to the backend or page code?
Any suggestions?