Uncaught (in promise) when trying Get api

API calls should be OK in Preview. Apparently you aren’t getting a respose from the service.

One issue I can see is that the URL you are calling is http. Please note that Wix only supports https.