Streaming live at 10am (PST)

Webflow CMS API CORS issues inside a Webflow project

Hello Webflowers!

I’ve been trying to connect a Webflow website with Webflow CMS API. Essentially what I’m trying to do is once I click a button on my Webflow site, I’d print the basic site info given by Webflow CMS API. However, I’m getting this error:

Access to XMLHttpRequest at ‘https://api.webflow.com/info’ from origin ‘https://testing-webflow-cms-api.webflow.io’ 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.


According to this answer on a similar post, using a proxy is the only way. However, 1- this is not safe, see this and 2- is it even possible to use a proxy on the client side? i.e. Webflow designer? How to approach this?

Here is my site Read-Only: LINK

A server side app is the only way to access the API. You can’t do it client side.

1 Like

Thanks for your speedy reply @webdev!

That’s unfortunate. Can you suggest me a quick-to-use app to access the API? I’ve got a development background so hopefully it won’t be too difficult.

Node works just fine. Work out the particulars with Postman.

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.