I have used the tutorials and even after using the same code it nets different results. It says that the method is “OPTIONS” so post will not work with that even though I set the method to post. I am running this on my preview site and I do save every time I change anything. The url I am contacting is " https://username.wixsite.com/website/_functions-dev/myFunction " . The reason I am using “use” instead of “post” is because it errors without it.
This is the error I get when I use “post” instead of “use”