I am using the new Write API to push data to Primic from my own application. I have a React application, running on local machine http://localhost:3000/. When I try to POST data to Prismic using Write API feature I get the following error:
Access to fetch at 'https://if-api.prismic.io/if/write/fanduel-casino-dev--write_test_catalog' from origin 'http://localhost:3000' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
How can I fix this?