This is a read-only archive of the Framer Community on Facebook.

What is Framer? Join the Community
Return to index
Daniel Kamphorst
Posted Jan 15 - Read on Facebook

Does anyone have experience with Cross-Origin Resource Sharing (CORS) (requests) in Framer? I'm trying to load data from a XML file from another domain/origin ('public' API, HTTP basic acces authentication), but without any results. :( I can post the code too if you guys want me to, but I don't think there's anything wrong with the code.

3 Comments

Siddhartha Gudipati

Use jsonp make sure your server send a jsonp with or without a callback.

Joshua Dickens

If you don't control the server, I'm pretty sure you won't be able to do it -- the server needs to be set up to allow CORS, or JSONP as Siddhartha mentioned.

You could create a proxy server to proxy the request locally, not sure how easy that is. (feature request: make framer studio's local web host able to act as a local proxy for a remote server)

Hannes Waller

Try to put http://crossorigin.me before your URL, usually works for me

Read the entire post on Facebook