Greetings
Great project!
I was trying to add Rest API queries in the Query library page but I'm getting "Failed to parse REST API query configuration".
Upon further investigation I realized it's a CORS issue. In the Console I have:
Access to XMLHttpRequest at 'https://api.openblocks.dev/api/library-queries/63874c9175cfb658566106b5' from origin 'https://cloud.openblocks.dev' has been blocked by CORS policy: Method PUT is not allowed by Access-Control-Allow-Methods in preflight response. index.8d8d6801.js:230 XMLHttpRequest M9r @ index.8d8d6801.js:230 index.8d8d6801.js:230 update library query error: Error: Failed to connect to server, please check your network at Xge (index.8d8d6801.js:230:13362) at Ar (index.8d8d6801.js:230:13270) at E8r (index.8d8d6801.js:230:69872) at E8r.next (<anonymous>) at p (index.8d8d6801.js:230:1364) at A (index.8d8d6801.js:230:1930) E8r @ index.8d8d6801.js:230 api.openblocks.dev/api/library-queries/63874c9175cfb658566106b5:1 Failed to load resource: net::ERR_FAILED
I am using Google Chrome 107.0.5304.121 on MacOS. Tried with Safari, same issue.
Is it just me?
Thanks in advance
Greetings
Great project!
I was trying to add Rest API queries in the Query library page but I'm getting "Failed to parse REST API query configuration".
Upon further investigation I realized it's a CORS issue. In the Console I have:
Access to XMLHttpRequest at 'https://api.openblocks.dev/api/library-queries/63874c9175cfb658566106b5' from origin 'https://cloud.openblocks.dev' has been blocked by CORS policy: Method PUT is not allowed by Access-Control-Allow-Methods in preflight response. index.8d8d6801.js:230 XMLHttpRequest M9r @ index.8d8d6801.js:230 index.8d8d6801.js:230 update library query error: Error: Failed to connect to server, please check your network at Xge (index.8d8d6801.js:230:13362) at Ar (index.8d8d6801.js:230:13270) at E8r (index.8d8d6801.js:230:69872) at E8r.next (<anonymous>) at p (index.8d8d6801.js:230:1364) at A (index.8d8d6801.js:230:1930) E8r @ index.8d8d6801.js:230 api.openblocks.dev/api/library-queries/63874c9175cfb658566106b5:1 Failed to load resource: net::ERR_FAILEDI am using Google Chrome 107.0.5304.121 on MacOS. Tried with Safari, same issue.
Is it just me?
Thanks in advance