Certainly! Here’s your question formatted according to the provided structure:
Question:
Can I use Wix CMS as a database and access its data in a React project? If so, how can I do that?
Product:
Wix CMS and React
What are you trying to achieve:
I want to use Wix CMS as a backend database for a React application. I need to access data stored in Wix CMS and integrate it into my React project.
What have you already tried:
I have tried using the Wix Data API (https://www.wixapis.com/wix-data/v2/items/query
) and successfully received responses in Postman. However, I encounter a CORS error when attempting to access the API from my React application.
Additional information:
I am experiencing CORS issues when making requests to the Wix Data API from React. I would like guidance on how to resolve these CORS errors and effectively use Wix CMS data in my React project.